summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/extern.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-01-20 05:23:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-01-20 05:23:26 +0000
commitb6fdd147650e17a0c47dc30dacfcf78b7bc10882 (patch)
tree909dbedfe7bc8d0ee8f8b117fbfe9054d417bd1f /src/interfaces/ecpg/preproc/extern.h
parentc02f1ead482e3d6efdccaacb05a7955d4aead3d1 (diff)
ecpg shouldn't depend on parser/gramparse.h. Also, eliminate some
compiler warnings caused by lack of extern declarations in extern.h. I believe the remaining gcc warnings here would go away if the ecpg grammar could be tweaked so it doesn't use REJECT ...
Diffstat (limited to 'src/interfaces/ecpg/preproc/extern.h')
-rw-r--r--src/interfaces/ecpg/preproc/extern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/extern.h b/src/interfaces/ecpg/preproc/extern.h
index c37e552b986..e921cf664fb 100644
--- a/src/interfaces/ecpg/preproc/extern.h
+++ b/src/interfaces/ecpg/preproc/extern.h
@@ -36,11 +36,12 @@ extern void output_line_number(void);
extern void lex_init(void);
extern char *input_filename;
extern int yyparse(void);
+extern int yylex(void);
+extern void yyerror(char *);
extern void *mm_alloc(size_t), *mm_realloc(void *, size_t);
extern char *mm_strdup(const char *);
ScanKeyword *ScanECPGKeywordLookup(char *);
ScanKeyword *ScanCKeywordLookup(char *);
-extern void yyerror(char *);
/* return codes */