aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-11-26 04:36:48 +0000
committerBruce Momjian <bruce@momjian.us>1999-11-26 04:36:48 +0000
commit09f185a0409523a435fd83333e278eb9310fa52d (patch)
treec38fd7e41439f9361af4b6844e549515bafe5f98 /src
parent78bc83fedf7f865534c61dd14067fc80d580ed29 (diff)
downloadpostgresql-09f185a0409523a435fd83333e278eb9310fa52d.tar.gz
postgresql-09f185a0409523a435fd83333e278eb9310fa52d.zip
Fix missing prototype psql warning.
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/tab-complete.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index eebfaa835d0..6dd36cfa88d 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -65,7 +65,7 @@ static char * complete_from_list(char *text, int state);
static PGresult * exec_query(char * query);
char * quote_file_name(char *text, int match_type, char * quote_pointer);
-//char * dequote_file_name(char *text, char quote_char);
+//static char * dequote_file_name(char *text, char quote_char);
static char * previous_word(int point, int skip);
/* These variables are used to pass information into the completion functions.
@@ -793,7 +793,8 @@ char * quote_file_name(char *text, int match_type, char * quote_pointer)
}
-char * dequote_file_name(char *text, char quote_char)
+#ifdef NOT_USED
+static char * dequote_file_name(char *text, char quote_char)
{
char *s;
size_t length;
@@ -808,5 +809,6 @@ char * dequote_file_name(char *text, char quote_char)
return s;
}
+#endif
#endif /* USE_READLINE */