From e3cade2e295138aa4d3e87e32a72b48792979f7f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 20 Jun 2001 18:39:14 +0000 Subject: [PATCH] Re-add explicit declaration of filename_completion_function(), which seems to be missing in some header files (on OpenBSD 2.8?). --- src/bin/psql/tab-complete.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index e8ed3c668a..8e5e436015 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