aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2002-03-01 14:10:19 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2002-03-01 14:10:19 +0000
commit955a5a1abe50466c325521eff5208d088d743fc5 (patch)
treede57431ca2f8764175a86c6eb9d0dfd0ad4093f3 /src
parenta319ff177f881fd2650c11a7298d698d317c394b (diff)
downloadPROJ-955a5a1abe50466c325521eff5208d088d743fc5.tar.gz
PROJ-955a5a1abe50466c325521eff5208d088d743fc5.zip
Move around include files a bit to get things working on MacOS X.
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@997 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src')
-rw-r--r--src/geod.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/geod.c b/src/geod.c
index 3be15024..29c54da0 100644
--- a/src/geod.c
+++ b/src/geod.c
@@ -2,11 +2,11 @@
static const char SCCSID[]="@(#)geod.c 4.8 95/09/23 GIE REL";
#endif
/* <<<< Geodesic filter program >>>> */
-# include "projects.h"
+# include <ctype.h>
# include <stdio.h>
+# include "projects.h"
# include "geodesic.h"
# include "emess.h"
-# include <ctype.h>
# include <string.h>
# define MAXLINE 200
@@ -125,12 +125,11 @@ process(FILE *fid) {
(void)fputs(s, stdout);
}
}
- static char
-*pargv[MAX_PARGS];
- static int
-pargc = 0;
- void
-main(int argc, char **argv) {
+
+static char *pargv[MAX_PARGS];
+static int pargc = 0;
+
+int main(int argc, char **argv) {
char *arg, **eargv = argv, *strnchr();
FILE *fid;
static int eargc = 0, c;