aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1996-11-08 20:46:33 +0000
committerBruce Momjian <bruce@momjian.us>1996-11-08 20:46:33 +0000
commitc9c0e111b8d5c186c4cf3742a00e3163f02fab53 (patch)
tree3bef47505275f261ec40537ae280af6d29287b5a /src/include
parent8006c6f52f67cccaa9d57e2c895d95b609372c41 (diff)
downloadpostgresql-c9c0e111b8d5c186c4cf3742a00e3163f02fab53.tar.gz
postgresql-c9c0e111b8d5c186c4cf3742a00e3163f02fab53.zip
More compile cleanups
Diffstat (limited to 'src/include')
-rw-r--r--src/include/parser/gramparse.h24
-rw-r--r--src/include/storage/smgr.h5
2 files changed, 27 insertions, 2 deletions
diff --git a/src/include/parser/gramparse.h b/src/include/parser/gramparse.h
new file mode 100644
index 00000000000..95de9f0f395
--- /dev/null
+++ b/src/include/parser/gramparse.h
@@ -0,0 +1,24 @@
+/*-------------------------------------------------------------------------
+ *
+ * gramparse.h--
+ * scanner support routines. used by both the bootstrap lexer
+ * as well as the normal lexer
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: gramparse.h,v 1.1 1996/11/08 20:46:26 momjian Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+
+#ifndef GRAMPARSE_H
+#define GRAMPARSE_H /* include once only */
+
+/* from scan.l */
+extern void init_io();
+
+/* from gram.y */
+extern void parser_init(Oid *typev, int nargs);
+extern int yyparse();
+
+#endif /* GRAMPARSE_H */
diff --git a/src/include/storage/smgr.h b/src/include/storage/smgr.h
index 0e3eb4cf6c4..02ba5627d82 100644
--- a/src/include/storage/smgr.h
+++ b/src/include/storage/smgr.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: smgr.h,v 1.3 1996/11/08 06:02:22 momjian Exp $
+ * $Id: smgr.h,v 1.4 1996/11/08 20:46:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -83,6 +83,7 @@ extern int mmabort(void);
extern int MMShmemSize(void);
/* smgrtype.c */
-char *smgrout(int2 i);
+extern char *smgrout(int2 i);
+extern int2 smgrin(char *s);
#endif /* SMGR_H */