aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;