diff options
| author | Bruce Momjian | 2007-11-15 21:14:46 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2007-11-15 21:14:46 +0000 |
| commit | fdf5a5efb7b28c13085fe7313658de8d7b9914f6 (patch) | |
| tree | a75cf1422fa1eef4e801cf502b148d8ce1b5dfe7 /src/bin/scripts | |
| parent | 3adc760fb92eab1a8720337a8bf9b66486609eb3 (diff) | |
pgindent run for 8.3.
Diffstat (limited to 'src/bin/scripts')
| -rw-r--r-- | src/bin/scripts/common.c | 5 | ||||
| -rw-r--r-- | src/bin/scripts/common.h | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/bin/scripts/common.c b/src/bin/scripts/common.c index 93272b29c3b..5e815e57f4b 100644 --- a/src/bin/scripts/common.c +++ b/src/bin/scripts/common.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/bin/scripts/common.c,v 1.28 2007/09/25 16:29:34 petere Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/common.c,v 1.29 2007/11/15 21:14:42 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -29,6 +29,7 @@ int optreset; #endif static PGcancel *volatile cancelConn = NULL; + #ifdef WIN32 static CRITICAL_SECTION cancelConnLock; #endif @@ -360,7 +361,6 @@ setup_cancel_handler(void) { pqsignal(SIGINT, handle_sigint); } - #else /* WIN32 */ /* @@ -403,4 +403,3 @@ setup_cancel_handler(void) } #endif /* WIN32 */ - diff --git a/src/bin/scripts/common.h b/src/bin/scripts/common.h index 9f592230476..98ba0eb8752 100644 --- a/src/bin/scripts/common.h +++ b/src/bin/scripts/common.h @@ -4,7 +4,7 @@ * * Copyright (c) 2003-2007, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.17 2007/04/09 18:21:22 mha Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.18 2007/11/15 21:14:42 momjian Exp $ */ #ifndef COMMON_H #define COMMON_H @@ -36,7 +36,7 @@ extern void executeCommand(PGconn *conn, const char *query, const char *progname, bool echo); extern bool executeMaintenanceCommand(PGconn *conn, const char *query, - bool echo); + bool echo); extern bool yesno_prompt(const char *question); |
