aboutsummaryrefslogtreecommitdiff
path: root/src/pj_transform.c
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-03-11 15:28:28 +0100
committerKristian Evers <kristianevers@gmail.com>2018-03-11 15:28:28 +0100
commit18d5c0310e5950b88b4a5ddab6c3636e8b10ed77 (patch)
treebfb3582096fabb1bc40929b02990c7f7f450ad20 /src/pj_transform.c
parentab87b8ef0af7ef888b7d810db610ead6eb784d71 (diff)
downloadPROJ-18d5c0310e5950b88b4a5ddab6c3636e8b10ed77.tar.gz
PROJ-18d5c0310e5950b88b4a5ddab6c3636e8b10ed77.zip
Remove 'pj_' prefix from static functions
Functions should only be prefixed with 'pj_' when they can be used in other parts of the code base and not just within a single file. Takes care of the last step in #675.
Diffstat (limited to 'src/pj_transform.c')
-rw-r--r--src/pj_transform.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pj_transform.c b/src/pj_transform.c
index 06a2dfb0..22b685b2 100644
--- a/src/pj_transform.c
+++ b/src/pj_transform.c
@@ -44,7 +44,7 @@ typedef enum PJ_DIRECTION PJ_DIRECTION;
-static int pj_adjust_axis( projCtx ctx, const char *axis, int denormalize_flag,
+static int adjust_axis( projCtx ctx, const char *axis, int denormalize_flag,
long point_count, int point_offset,
double *x, double *y, double *z );
@@ -104,7 +104,7 @@ static int adjust_axes (PJ *P, PJ_DIRECTION dir, long n, int dist, double *x, do
if (0==strcmp(P->axis,"enu"))
return 0;
- return pj_adjust_axis( P->ctx, P->axis,
+ return adjust_axis( P->ctx, P->axis,
dir==PJ_FWD ? 1: 0, n, dist, x, y, z );
}
@@ -914,12 +914,12 @@ int pj_datum_transform( PJ *srcdefn, PJ *dstdefn,
}
/************************************************************************/
-/* pj_adjust_axis() */
+/* adjust_axis() */
/* */
/* Normalize or de-normalized the x/y/z axes. The normal form */
/* is "enu" (easting, northing, up). */
/************************************************************************/
-static int pj_adjust_axis( projCtx ctx,
+static int adjust_axis( projCtx ctx,
const char *axis, int denormalize_flag,
long point_count, int point_offset,
double *x, double *y, double *z )