]> granicus.if.org Git - postgresql/commitdiff
Fix missing prototype psql warning.
authorBruce Momjian <bruce@momjian.us>
Fri, 26 Nov 1999 04:36:48 +0000 (04:36 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 26 Nov 1999 04:36:48 +0000 (04:36 +0000)
src/bin/psql/tab-complete.c

index eebfaa835d0f03113636fc893c5f84e8af613694..6dd36cfa88ddef6e0984d9c0e2dc53d43618ffee 100644 (file)
@@ -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 */