1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00

Another pgindent run. Fixes enum indenting, and improves #endif

spacing.  Also adds space for one-line comments.
This commit is contained in:
Bruce Momjian
2001-10-28 06:26:15 +00:00
parent c29797deeb
commit 6783b2372e
525 changed files with 2429 additions and 2049 deletions

View File

@@ -607,4 +607,5 @@ findMain(void)
free(buf);
return ret;
}
#endif /* HAVE_DLOPEN */

View File

@@ -1,5 +1,5 @@
/*
* $Id: aix.h,v 1.7 2001/10/25 05:49:40 momjian Exp $
* $Id: aix.h,v 1.8 2001/10/28 06:25:47 momjian Exp $
*
* @(#)dlfcn.h 1.4 revision of 95/04/25 09:36:52
* This is an unpublished work copyright (c) 1992 HELIOS Software GmbH
@@ -42,6 +42,7 @@ extern "C"
void *dlsym(void *handle, const char *symbol);
char *dlerror(void);
int dlclose(void *handle);
#else
void *dlopen();
void *dlsym();
@@ -60,4 +61,5 @@ extern "C"
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* PORT_PROTOS_H */

View File

@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/bsdi.c,v 1.16 2001/10/25 05:49:40 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/bsdi.c,v 1.17 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -94,4 +94,5 @@ pg_dlerror()
{
return dld_strerror(dld_errno);
}
#endif /* not HAVE_DLOPEN */

View File

@@ -33,4 +33,5 @@ do { \
free(handle); \
} while (0)
#endif /* not HAVE_DLOPEN */
#endif /* PORT_PROTOS_H */

View File

@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: dgux.h,v 1.11 2001/10/25 05:49:40 momjian Exp $
* $Id: dgux.h,v 1.12 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -27,4 +27,5 @@
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* PORT_PROTOS_H */

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: freebsd.h,v 1.11 2001/10/25 05:49:40 momjian Exp $
* $Id: freebsd.h,v 1.12 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -43,4 +43,5 @@ char *BSD44_derived_dlerror(void);
void *BSD44_derived_dlopen(const char *filename, int num);
void *BSD44_derived_dlsym(void *handle, const char *name);
void BSD44_derived_dlclose(void *handle);
#endif /* PORT_PROTOS_H */

View File

@@ -30,4 +30,5 @@
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* PORT_PROTOS_H */

View File

@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.19 2001/10/25 05:49:40 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.20 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -107,4 +107,5 @@ pg_dlerror()
return dld_strerror(dld_errno);
#endif
}
#endif

View File

@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: linux.h,v 1.14 2001/10/25 05:49:40 momjian Exp $
* $Id: linux.h,v 1.15 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -40,4 +40,5 @@ do { \
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* HAVE_DLOPEN */
#endif /* PORT_PROTOS_H */

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: netbsd.h,v 1.6 2001/10/25 05:49:40 momjian Exp $
* $Id: netbsd.h,v 1.7 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -43,4 +43,5 @@ char *BSD44_derived_dlerror(void);
void *BSD44_derived_dlopen(const char *filename, int num);
void *BSD44_derived_dlsym(void *handle, const char *name);
void BSD44_derived_dlclose(void *handle);
#endif /* PORT_PROTOS_H */

View File

@@ -22,4 +22,5 @@ char *next_dlerror(void);
#define pg_dlerror next_dlerror
/* port.c */
#endif /* PORT_PROTOS_H */

View File

@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: openbsd.h,v 1.7 2001/10/25 05:49:40 momjian Exp $
* $Id: openbsd.h,v 1.8 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -41,4 +41,5 @@ char *BSD44_derived_dlerror(void);
void *BSD44_derived_dlopen(const char *filename, int num);
void *BSD44_derived_dlsym(void *handle, const char *name);
void BSD44_derived_dlclose(void *handle);
#endif /* PORT_PROTOS_H */

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: osf.h,v 1.4 2001/10/25 05:49:40 momjian Exp $
* $Id: osf.h,v 1.5 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -32,4 +32,5 @@
#define pg_dlsym(h, f) ((PGFunction) dlsym(h, f))
#define pg_dlclose(h) dlclose(h)
#define pg_dlerror() dlerror()
#endif /* PORT_PROTOS_H */

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: sco.h,v 1.9 2001/10/25 05:49:40 momjian Exp $
* $Id: sco.h,v 1.10 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -32,4 +32,5 @@
#define pg_dlerror dlerror
/* port.c */
#endif /* PORT_PROTOS_H */

View File

@@ -1,4 +1,4 @@
/* $Header: /cvsroot/pgsql/src/backend/port/dynloader/solaris.h,v 1.5 2001/10/25 05:49:40 momjian Exp $ */
/* $Header: /cvsroot/pgsql/src/backend/port/dynloader/solaris.h,v 1.6 2001/10/28 06:25:47 momjian Exp $ */
#ifndef DYNLOADER_SOLARIS_H
#define DYNLOADER_SOLARIS_H
@@ -10,4 +10,5 @@
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* DYNLOADER_SOLARIS_H */

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: sunos4.h,v 1.9 2001/10/25 05:49:40 momjian Exp $
* $Id: sunos4.h,v 1.10 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -30,4 +30,5 @@
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* PORT_PROTOS_H */

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: svr4.h,v 1.9 2001/10/25 05:49:40 momjian Exp $
* $Id: svr4.h,v 1.10 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -30,4 +30,5 @@
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* DYNLOADER_H */

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: ultrix4.h,v 1.8 2001/10/25 05:49:40 momjian Exp $
* $Id: ultrix4.h,v 1.9 2001/10/28 06:25:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -55,9 +55,9 @@ typedef struct ScnInfo
typedef enum
{
DL_NEEDRELOC, /* still need relocation */
DL_RELOCATED, /* no relocation necessary */
DL_INPROG /* relocation in progress */
DL_NEEDRELOC, /* still need relocation */
DL_RELOCATED, /* no relocation necessary */
DL_INPROG /* relocation in progress */
} dlRStatus;
typedef struct JmpTbl
@@ -120,4 +120,5 @@ extern char *dl_error( /* void */ );
extern char **dl_undefinedSymbols( /* int *count */ );
extern void dl_printAllSymbols( /* void *handle */ );
extern void dl_setLibraries( /* char *libs */ );
#endif /* _DL_HEADER_ */

View File

@@ -30,4 +30,5 @@
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* PORT_PROTOS_H */

View File

@@ -30,4 +30,5 @@
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* PORT_PROTOS_H */

View File

@@ -30,4 +30,5 @@
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* PORT_PROTOS_H */