diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-11-21 21:16:06 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-11-21 21:16:06 +0000 |
commit | a70e74b060ab2769523ad831f571cb80122121d3 (patch) | |
tree | 95e04cfd344db47857c4aecc3308092d5df01f3d /src/backend/bootstrap/bootstrap.c | |
parent | 040bb787bcf840e5a1fc49fccff185a8274bccae (diff) | |
download | postgresql-a70e74b060ab2769523ad831f571cb80122121d3.tar.gz postgresql-a70e74b060ab2769523ad831f571cb80122121d3.zip |
Put external declarations into header files.
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
-rw-r--r-- | src/backend/bootstrap/bootstrap.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index fe3ca265e9f..2c03e5e1359 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.99 2000/11/21 09:39:57 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.100 2000/11/21 21:15:59 petere Exp $ * *------------------------------------------------------------------------- */ @@ -27,6 +27,7 @@ #include "access/genam.h" #include "access/heapam.h" +#include "access/xlog.h" #include "bootstrap/bootstrap.h" #include "catalog/catname.h" #include "catalog/index.h" @@ -39,16 +40,11 @@ #include "utils/fmgroids.h" #include "utils/guc.h" #include "utils/lsyscache.h" +#include "utils/relcache.h" #define ALLOC(t, c) ((t *) calloc((unsigned)(c), sizeof(t))) -extern void StartupXLOG(void); -extern void ShutdownXLOG(void); -extern void BootStrapXLOG(void); - -extern char XLogDir[]; -extern char ControlFilePath[]; extern int Int_yyparse(void); static hashnode *AddStr(char *str, int strlength, int mderef); @@ -223,10 +219,6 @@ BootstrapMain(int argc, char *argv[]) int xlogop = BS_XLOG_NOP; char *potential_DataDir = NULL; - extern int optind; - extern char *optarg; - - /* -------------------- * initialize globals * ------------------- @@ -355,7 +347,6 @@ BootstrapMain(int argc, char *argv[]) { if (xlogop == BS_XLOG_CHECKPOINT) { - extern void CreateDummyCaches(void); CreateDummyCaches(); CreateCheckPoint(false); } |