From 76dd2333d55e54322a4bf0fc2dc3c1bcb07fe076 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 18 Aug 2004 19:27:13 +0000 Subject: [PATCH] Clean up some random departures from project's standard declaration style. --- src/interfaces/libpq/libpq-fe.h | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/src/interfaces/libpq/libpq-fe.h b/src/interfaces/libpq/libpq-fe.h index fbd31d01bf..889b7593e0 100644 --- a/src/interfaces/libpq/libpq-fe.h +++ b/src/interfaces/libpq/libpq-fe.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * 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); -void -PQinitSSL(int do_init); +extern void PQinitSSL(int do_init); /* === in fe-exec.c === */ @@ -418,24 +417,21 @@ extern unsigned char *PQunescapeBytea(const unsigned char *strtext, /* === in fe-print.c === */ -extern void -PQprint(FILE *fout, /* output stream */ - const PGresult *res, - const PQprintOpt *ps); /* option structure */ +extern void PQprint(FILE *fout, /* output stream */ + const PGresult *res, + const PQprintOpt *ps); /* option structure */ /* * really old printing routines */ -extern void -PQdisplayTuples(const PGresult *res, +extern void PQdisplayTuples(const PGresult *res, FILE *fp, /* where to send the output */ int fillAlign, /* pad the fields with spaces */ const char *fieldSep, /* field separator */ int printHeader, /* display headers? */ int quiet); -extern void -PQprintTuples(const PGresult *res, +extern void PQprintTuples(const PGresult *res, FILE *fout, /* output stream */ int printAttName, /* print attribute names */ int terseOutput, /* delimiter bars */ @@ -474,7 +470,7 @@ extern int PQenv2encoding(void); * Indicates whether the libpq thread is in send(). * Used to ignore SIGPIPE if thread is in send(). */ -pqbool PQinSend(void); +extern pqbool PQinSend(void); #ifdef __cplusplus } -- 2.40.0