From a2af4ceaae3108e60866ceb6ddd185f8ed373b58 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 19 Apr 2011 09:22:16 +0200 Subject: [PATCH] getopt: fix gcc warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit getopt.c:80:13: warning: ‘set_initial_shell’ declared ‘static’ but never defined Signed-off-by: Karel Zak --- getopt/getopt.c | 1 - mount/mount.c | 1 - 2 files changed, 2 deletions(-) diff --git a/getopt/getopt.c b/getopt/getopt.c index 2e7109d4da..b553c8b834 100644 --- a/getopt/getopt.c +++ b/getopt/getopt.c @@ -77,7 +77,6 @@ static void add_long_options(char *options); static void add_longopt(const char *name,int has_arg); static void print_help(void); static void set_shell(const char *new_shell); -static void set_initial_shell(void); static void *our_malloc(size_t size) { diff --git a/mount/mount.c b/mount/mount.c index b786368f92..ba711498d3 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -1385,7 +1385,6 @@ prepare_mtab_entry(const char *spec, const char *node, const char *type, static void update_mtab_entry(int flags) { unsigned long fl; - struct libmnt_lock *lc; if (!mtab_update) return; -- 2.47.3