summaryrefslogtreecommitdiff
path: root/src/bin/psql/input.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-10-25 05:50:21 +0000
committerBruce Momjian <bruce@momjian.us>2001-10-25 05:50:21 +0000
commitb81844b1738c584d92330a5ccd0fbd8b603d2886 (patch)
tree4fae0d4cd26048177fc5cd1a2dd91abc99ba0f99 /src/bin/psql/input.c
parent59da2105d8e6d95345b3b942a2e2aba8cead4838 (diff)
pgindent run on all C files. Java run to follow. initdb/regression
tests pass.
Diffstat (limited to 'src/bin/psql/input.c')
-rw-r--r--src/bin/psql/input.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/bin/psql/input.c b/src/bin/psql/input.c
index 17cfee41aeb..32872e9d71f 100644
--- a/src/bin/psql/input.c
+++ b/src/bin/psql/input.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/input.c,v 1.17 2001/09/11 23:08:07 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/input.c,v 1.18 2001/10/25 05:49:54 momjian Exp $
*/
#include "postgres_fe.h"
#include "input.h"
@@ -19,18 +19,17 @@
/* (of course there is no runtime command for doing that :) */
#ifdef USE_READLINE
static bool useReadline;
-
#endif
#ifdef USE_HISTORY
static bool useHistory;
-
#endif
#ifdef HAVE_ATEXIT
-static void finishInput(void);
+static void finishInput(void);
+
#else
/* designed for use with on_exit() */
-static void finishInput(int, void*);
+static void finishInput(int, void *);
#endif
@@ -48,7 +47,6 @@ gets_interactive(char *prompt)
#ifdef USE_HISTORY
const char *var;
static char *prev_hist = NULL;
-
#endif
#ifdef USE_READLINE