Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit76dd233

Browse files
committed
Clean up some random departures from project's standard declaration style.
1 parentf657594 commit76dd233

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
externpgthreadlock_t*PQregisterThreadLock(pgthreadlock_t*newhandler);
288288

289-
void
290-
PQinitSSL(intdo_init);
289+
externvoidPQinitSSL(intdo_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-
externvoid
422-
PQprint(FILE*fout,/* output stream */
423-
constPGresult*res,
424-
constPQprintOpt*ps);/* option structure */
420+
externvoidPQprint(FILE*fout,/* output stream */
421+
constPGresult*res,
422+
constPQprintOpt*ps);/* option structure */
425423

426424
/*
427425
* really old printing routines
428426
*/
429-
externvoid
430-
PQdisplayTuples(constPGresult*res,
427+
externvoidPQdisplayTuples(constPGresult*res,
431428
FILE*fp,/* where to send the output */
432429
intfillAlign,/* pad the fields with spaces */
433430
constchar*fieldSep,/* field separator */
434431
intprintHeader,/* display headers? */
435432
intquiet);
436433

437-
externvoid
438-
PQprintTuples(constPGresult*res,
434+
externvoidPQprintTuples(constPGresult*res,
439435
FILE*fout,/* output stream */
440436
intprintAttName,/* print attribute names */
441437
intterseOutput,/* delimiter bars */
@@ -474,7 +470,7 @@ extern intPQenv2encoding(void);
474470
*Indicates whether the libpq thread is in send().
475471
*Used to ignore SIGPIPE if thread is in send().
476472
*/
477-
pqboolPQinSend(void);
473+
externpqboolPQinSend(void);
478474

479475
#ifdef__cplusplus
480476
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp