summaryrefslogtreecommitdiffstats
path: root/getopt
diff options
context:
space:
mode:
authorKarel Zak2011-04-19 09:22:16 +0200
committerKarel Zak2011-04-19 09:22:16 +0200
commita2af4ceaae3108e60866ceb6ddd185f8ed373b58 (patch)
treed12b2cf917be950ff93b2ad5a74a9a0ac89cb0d2 /getopt
parentmesg: add \n to usage() output (diff)
downloadkernel-qcow2-util-linux-a2af4ceaae3108e60866ceb6ddd185f8ed373b58.tar.gz
kernel-qcow2-util-linux-a2af4ceaae3108e60866ceb6ddd185f8ed373b58.tar.xz
kernel-qcow2-util-linux-a2af4ceaae3108e60866ceb6ddd185f8ed373b58.zip
getopt: fix gcc warning
getopt.c:80:13: warning: ‘set_initial_shell’ declared ‘static’ but never defined Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'getopt')
-rw-r--r--getopt/getopt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/getopt/getopt.c b/getopt/getopt.c
index 2e7109d4d..b553c8b83 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)
{