1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.

This commit is contained in:
Bruce Momjian
1997-09-08 02:41:22 +00:00
parent a90f12fd9d
commit 319dbfa736
632 changed files with 28301 additions and 28220 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/dynloader.c,v 1.2 1997/09/07 04:45:44 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/dynloader.c,v 1.3 1997/09/08 02:26:15 momjian Exp $
*
* NOTES
* all functions are defined here -- it's impossible to trace the
@ -24,10 +24,10 @@
#include "utils/dynamic_loader.h"
#include "port-protos.h"
void *
void *
pg_dlopen(char *filename)
{
shl_t handle = shl_load(filename, BIND_DEFERRED, 0);
shl_t handle = shl_load(filename, BIND_DEFERRED, 0);
return ((void *) handle);
}
@ -35,7 +35,7 @@ pg_dlopen(char *filename)
func_ptr
pg_dlsym(void *handle, char *funcname)
{
func_ptr f;
func_ptr f;
if (shl_findsym((shl_t *) & handle, funcname, TYPE_PROCEDURE, &f) == -1)
{
@ -50,10 +50,10 @@ pg_dlclose(void *handle)
shl_unload((shl_t) handle);
}
char *
char *
pg_dlerror()
{
static char errmsg[] = "shl_load failed";
static char errmsg[] = "shl_load failed";
return errmsg;
}

View File

@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: fixade.h,v 1.2 1997/09/07 04:45:48 momjian Exp $
* $Id: fixade.h,v 1.3 1997/09/08 02:26:22 momjian Exp $
*
* NOTES
* This must be included in EVERY source file.
@ -47,11 +47,11 @@
*/
struct HP_WAY_BOGUS
{
char hpwb_bogus[8192];
char hpwb_bogus[8192];
};
struct HP_TOO_BOGUS
{
int hptb_bogus[8192];
int hptb_bogus[8192];
};
#endif /* BROKEN_STRUCT_INIT */

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: port-protos.h,v 1.3 1997/09/07 04:45:51 momjian Exp $
* $Id: port-protos.h,v 1.4 1997/09/08 02:26:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -24,11 +24,11 @@
/* port.c */
extern int init_address_fixup(void);
extern double rint(double x);
extern double cbrt(double x);
extern long random(void);
extern void srandom(unsigned seed);
extern int getrusage(int who, struct rusage * ru);
extern int init_address_fixup(void);
extern double rint(double x);
extern double cbrt(double x);
extern long random(void);
extern void srandom(unsigned seed);
extern int getrusage(int who, struct rusage * ru);
#endif /* PORT_PROTOS_H */

View File

@ -22,10 +22,10 @@
struct rusage
{
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
extern int getrusage(int who, struct rusage * rusage);
extern int getrusage(int who, struct rusage * rusage);
#endif /* RUSAGESTUB_H */