Skip to content

Commit e3cade2

Browse files
committed
Re-add explicit declaration of filename_completion_function(), which seems
to be missing in some header files (on OpenBSD 2.8?).
1 parent c5f7a94 commit e3cade2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/bin/psql/tab-complete.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.33 2001/06/11 22:12:48 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.34 2001/06/20 18:39:14 petere Exp $
77
*/
88

99
/*----------------------------------------------------------------------
@@ -62,6 +62,9 @@
6262

6363
#ifdef HAVE_RL_FILENAME_COMPLETION_FUNCTION
6464
#define filename_completion_function rl_filename_completion_function
65+
#else
66+
/* missing in some header files */
67+
extern char *filename_completion_function();
6568
#endif
6669

6770
#ifdef HAVE_RL_COMPLETION_MATCHES

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy