summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-06-20 18:39:14 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-06-20 18:39:14 +0000
commite3cade2e295138aa4d3e87e32a72b48792979f7f (patch)
tree085059474f1d318b76ff5c2b6d3e7e17c0ec71b5 /src
parentc5f7a94f3c7294e7a6ee649c81a4cf51e0850baf (diff)
Re-add explicit declaration of filename_completion_function(), which seems
to be missing in some header files (on OpenBSD 2.8?).
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/tab-complete.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index e8ed3c668ae..8e5e4360152 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.33 2001/06/11 22:12:48 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.34 2001/06/20 18:39:14 petere Exp $
*/
/*----------------------------------------------------------------------
@@ -62,6 +62,9 @@
#ifdef HAVE_RL_FILENAME_COMPLETION_FUNCTION
#define filename_completion_function rl_filename_completion_function
+#else
+/* missing in some header files */
+extern char *filename_completion_function();
#endif
#ifdef HAVE_RL_COMPLETION_MATCHES