Skip to content

Commit 76dd233

Browse files
committed
Clean up some random departures from project's standard declaration style.
1 parent f657594 commit 76dd233

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

src/interfaces/libpq/libpq-fe.h

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.105 2004/08/11 18:06:01 tgl Exp $
10+
* $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.106 2004/08/18 19:27:13 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -286,8 +286,7 @@ typedef void (pgthreadlock_t)(int acquire);
286286

287287
extern pgthreadlock_t * PQregisterThreadLock(pgthreadlock_t *newhandler);
288288

289-
void
290-
PQinitSSL(int do_init);
289+
extern void PQinitSSL(int do_init);
291290

292291
/* === in fe-exec.c === */
293292

@@ -418,24 +417,21 @@ extern unsigned char *PQunescapeBytea(const unsigned char *strtext,
418417

419418
/* === in fe-print.c === */
420419

421-
extern void
422-
PQprint(FILE *fout, /* output stream */
423-
const PGresult *res,
424-
const PQprintOpt *ps); /* option structure */
420+
extern void PQprint(FILE *fout, /* output stream */
421+
const PGresult *res,
422+
const PQprintOpt *ps); /* option structure */
425423

426424
/*
427425
* really old printing routines
428426
*/
429-
extern void
430-
PQdisplayTuples(const PGresult *res,
427+
extern void PQdisplayTuples(const PGresult *res,
431428
FILE *fp, /* where to send the output */
432429
int fillAlign, /* pad the fields with spaces */
433430
const char *fieldSep, /* field separator */
434431
int printHeader, /* display headers? */
435432
int quiet);
436433

437-
extern void
438-
PQprintTuples(const PGresult *res,
434+
extern void PQprintTuples(const PGresult *res,
439435
FILE *fout, /* output stream */
440436
int printAttName, /* print attribute names */
441437
int terseOutput, /* delimiter bars */
@@ -474,7 +470,7 @@ extern int PQenv2encoding(void);
474470
* Indicates whether the libpq thread is in send().
475471
* Used to ignore SIGPIPE if thread is in send().
476472
*/
477-
pqbool PQinSend(void);
473+
extern pqbool PQinSend(void);
478474

479475
#ifdef __cplusplus
480476
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy