aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/common.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-04-12 17:17:23 +0000
committerBruce Momjian <bruce@momjian.us>2000-04-12 17:17:23 +0000
commit52f77df613cea1803ce86321c37229626d9f213c (patch)
treebd9ac9f667f295cb65f4c448a5bb5a062d656b27 /src/bin/psql/common.h
parentdb4518729d85da83eafdacbcebaeb12618517595 (diff)
downloadpostgresql-52f77df613cea1803ce86321c37229626d9f213c.tar.gz
postgresql-52f77df613cea1803ce86321c37229626d9f213c.zip
Ye-old pgindent run. Same 4-space tabs.
Diffstat (limited to 'src/bin/psql/common.h')
-rw-r--r--src/bin/psql/common.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/bin/psql/common.h b/src/bin/psql/common.h
index 2f343e425a6..b2600060e1a 100644
--- a/src/bin/psql/common.h
+++ b/src/bin/psql/common.h
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.9 2000/03/05 13:30:19 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.10 2000/04/12 17:16:22 momjian Exp $
*/
#ifndef COMMON_H
#define COMMON_H
@@ -13,28 +13,32 @@
#include "pqsignal.h"
#include "libpq-fe.h"
-char * xstrdup(const char *string);
+char *xstrdup(const char *string);
bool setQFout(const char *fname);
#ifndef __GNUC__
-void psql_error(const char *fmt, ...);
+void psql_error(const char *fmt,...);
+
#else
/* This checks the format string for consistency. */
-void psql_error(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
+void psql_error(const char *fmt,...) __attribute__((format(printf, 1, 2)));
+
#endif
-void NoticeProcessor(void * arg, const char * message);
+void NoticeProcessor(void *arg, const char *message);
-char * simple_prompt(const char *prompt, int maxlen, bool echo);
+char *simple_prompt(const char *prompt, int maxlen, bool echo);
extern volatile bool cancel_pressed;
extern PGconn *cancelConn;
+
#ifndef WIN32
-void handle_sigint(SIGNAL_ARGS);
-#endif /* not WIN32 */
+void handle_sigint(SIGNAL_ARGS);
+
+#endif /* not WIN32 */
-PGresult * PSQLexec(const char *query);
+PGresult *PSQLexec(const char *query);
bool SendQuery(const char *query);