1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Compile and warning cleanup

This commit is contained in:
Bruce Momjian
1996-11-08 06:02:30 +00:00
parent d79bb2fd0e
commit 4b2b8592a0
85 changed files with 342 additions and 228 deletions

View File

@@ -6,14 +6,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bootstrap.h,v 1.2 1996/11/06 10:29:05 scrappy Exp $
* $Id: bootstrap.h,v 1.3 1996/11/08 06:01:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef BOOTSTRAP_H
#define BOOTSTRAP_H
#include "access/funcindex.h"
#include "access/itup.h"
#include "utils/rel.h"
#define MAXATTR 40 /* max. number of attributes in a relation */
@@ -37,7 +39,7 @@ extern void index_register(char *heap,
uint16 nparams,
Datum *params,
FuncIndexInfo *finfo,
PredInfo *predInfo);
PredInfo *predInfo);
extern void err_out(void);
extern void InsertOneTuple(Oid objectid);

View File

@@ -6,13 +6,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: async.h,v 1.3 1996/11/06 10:29:30 scrappy Exp $
* $Id: async.h,v 1.4 1996/11/08 06:01:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef ASYNC_H
#define ASYNC_H
#include <nodes/memnodes.h>
extern void Async_NotifyHandler(SIGNAL_ARGS);
extern void Async_Notify(char *relname);

View File

@@ -178,7 +178,8 @@
/* found in function aclparse() in src/backend/utils/adt/acl.c */
/* #define ACLDEBUG */
/* found in src/backend/utils/adt/arrayfuncs.c */
/* found in src/backend/utils/adt/arrayfuncs.c
code seems broken without it, Bruce Momjian */
/* #define LOARRAY */
/* This is the time, in seconds, at which a given backend server

View File

@@ -6,13 +6,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: locks.h,v 1.2 1996/11/06 10:30:59 scrappy Exp $
* $Id: locks.h,v 1.3 1996/11/08 06:02:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LOCKS_H
#define LOCKS_H
#include "nodes/nodes.h"
#include "nodes/parsenodes.h"
#include "rewrite/prs2lock.h"
extern List *matchLocks(CmdType event, RuleLock *rulelocks, int varno,
Query *parsetree);

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: fd.h,v 1.4 1996/11/04 07:45:53 scrappy Exp $
* $Id: fd.h,v 1.5 1996/11/08 06:02:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -85,5 +85,6 @@ extern void AllocateFile(void);
extern void FreeFile(void);
extern void closeAllVfds(void);
extern void closeOneVfd(void);
extern int pg_fsync(int fd);
#endif /* FD_H */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: lmgr.h,v 1.3 1996/11/05 06:10:59 scrappy Exp $
* $Id: lmgr.h,v 1.4 1996/11/08 06:02:18 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -78,4 +78,7 @@ extern bool SingleLockReln(LockInfo linfo, LOCKT lockt, int action);
extern bool SingleLockPage(LockInfo linfo, ItemPointer tidPtr,
LOCKT lockt, int action);
/* proc.c */
extern void InitProcGlobal(IPCKey key);
#endif /* LMGR_H */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: smgr.h,v 1.2 1996/11/05 06:11:07 scrappy Exp $
* $Id: smgr.h,v 1.3 1996/11/08 06:02:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -82,4 +82,7 @@ extern int mmcommit(void);
extern int mmabort(void);
extern int MMShmemSize(void);
/* smgrtype.c */
char *smgrout(int2 i);
#endif /* SMGR_H */