diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-06-20 18:39:14 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-06-20 18:39:14 +0000 |
commit | e3cade2e295138aa4d3e87e32a72b48792979f7f (patch) | |
tree | 085059474f1d318b76ff5c2b6d3e7e17c0ec71b5 /src | |
parent | c5f7a94f3c7294e7a6ee649c81a4cf51e0850baf (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.c | 5 |
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 |