int maxAcceptablePragmaVersion = 5; /* 0.26+ */
int thisIfacePragmaVersion = 0;
-char *input_file_dir; /* The directory where the input file is. */
+static char *input_file_dir; /* The directory where the input file is. */
char HiSuffix[64] = ".hi"; /* can be changed with -h flag */
char PreludeHiSuffix[64] = ".hi"; /* can be changed with -g flag */
-BOOLEAN ExplicitHiSuffixGiven = 0;
+/* OLD 95/08: BOOLEAN ExplicitHiSuffixGiven = 0; */
static BOOLEAN verbose = FALSE; /* Set for verbose messages. */
+/* Forward decls */
+static void who_am_i PROTO((void));
+
/**********************************************************************
* *
* *
case 'h':
strcpy(HiSuffix, *argv+1);
- ExplicitHiSuffixGiven = 1;
+/*OLD 95/08: ExplicitHiSuffixGiven = 1; */
keep_munging_option = FALSE;
break;
exit(1);
}
-void
-who_am_i()
+static void
+who_am_i(void)
{
fprintf(stderr,"Glasgow Haskell parser, version %s\n", PARSER_VERSION);
}
}
list
-lapp(l1, l2)
- list l1;
- VOID_STAR l2;
+lapp(list l1, VOID_STAR l2)
{
list t;