mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 21:46:57 +02:00
Clean up some random departures from project's standard declaration style.
This commit is contained in:
parent
f657594bf7
commit
76dd2333d5
@ -7,7 +7,7 @@
|
|||||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.105 2004/08/11 18:06:01 tgl Exp $
|
* $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.106 2004/08/18 19:27:13 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -286,8 +286,7 @@ typedef void (pgthreadlock_t)(int acquire);
|
|||||||
|
|
||||||
extern pgthreadlock_t * PQregisterThreadLock(pgthreadlock_t *newhandler);
|
extern pgthreadlock_t * PQregisterThreadLock(pgthreadlock_t *newhandler);
|
||||||
|
|
||||||
void
|
extern void PQinitSSL(int do_init);
|
||||||
PQinitSSL(int do_init);
|
|
||||||
|
|
||||||
/* === in fe-exec.c === */
|
/* === in fe-exec.c === */
|
||||||
|
|
||||||
@ -418,24 +417,21 @@ extern unsigned char *PQunescapeBytea(const unsigned char *strtext,
|
|||||||
|
|
||||||
/* === in fe-print.c === */
|
/* === in fe-print.c === */
|
||||||
|
|
||||||
extern void
|
extern void PQprint(FILE *fout, /* output stream */
|
||||||
PQprint(FILE *fout, /* output stream */
|
const PGresult *res,
|
||||||
const PGresult *res,
|
const PQprintOpt *ps); /* option structure */
|
||||||
const PQprintOpt *ps); /* option structure */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* really old printing routines
|
* really old printing routines
|
||||||
*/
|
*/
|
||||||
extern void
|
extern void PQdisplayTuples(const PGresult *res,
|
||||||
PQdisplayTuples(const PGresult *res,
|
|
||||||
FILE *fp, /* where to send the output */
|
FILE *fp, /* where to send the output */
|
||||||
int fillAlign, /* pad the fields with spaces */
|
int fillAlign, /* pad the fields with spaces */
|
||||||
const char *fieldSep, /* field separator */
|
const char *fieldSep, /* field separator */
|
||||||
int printHeader, /* display headers? */
|
int printHeader, /* display headers? */
|
||||||
int quiet);
|
int quiet);
|
||||||
|
|
||||||
extern void
|
extern void PQprintTuples(const PGresult *res,
|
||||||
PQprintTuples(const PGresult *res,
|
|
||||||
FILE *fout, /* output stream */
|
FILE *fout, /* output stream */
|
||||||
int printAttName, /* print attribute names */
|
int printAttName, /* print attribute names */
|
||||||
int terseOutput, /* delimiter bars */
|
int terseOutput, /* delimiter bars */
|
||||||
@ -474,7 +470,7 @@ extern int PQenv2encoding(void);
|
|||||||
* Indicates whether the libpq thread is in send().
|
* Indicates whether the libpq thread is in send().
|
||||||
* Used to ignore SIGPIPE if thread is in send().
|
* Used to ignore SIGPIPE if thread is in send().
|
||||||
*/
|
*/
|
||||||
pqbool PQinSend(void);
|
extern pqbool PQinSend(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user