From 9efaf000f6aff1fb536356dca967edca43937bd6 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 26 Jul 2002 18:22:32 +0000 Subject: [PATCH] Same compile warnings for lustre. --- lustre/utils/parser.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lustre/utils/parser.c b/lustre/utils/parser.c index ffd0075..3049daf 100644 --- a/lustre/utils/parser.c +++ b/lustre/utils/parser.c @@ -51,9 +51,8 @@ static int done; /* Set to 1 if user types exit or quit */ static char *skipwhitespace(char *s); static char *skiptowhitespace(char *s); static command_t *find_cmd(char *name, command_t cmds[], char **next); -static int process(char *s, char **next, command_t *lookup, command_t **result, char **prev); -static char *command_generator(const char *text, int state); -static char **command_completion(char *text, int start, int end); +static int process(char *s, char **next, command_t *lookup, command_t **result, + char **prev); static void print_commands(char *str, command_t *table); static char * skipwhitespace(char * s) @@ -184,7 +183,6 @@ static int process(char *s, char ** next, command_t *lookup, #ifdef HAVE_LIBREADLINE static command_t * match_tbl; /* Command completion against this table */ - static char * command_generator(const char * text, int state) { static int index, -- 1.8.3.1