From 7241e6d37781dc7e72e2b8b809f2643b98b66c25 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 15 Mar 2009 01:28:30 +0000 Subject: uname: correct cut/paste error touch: add long options function old new delta static.longopts 137 162 +25 touch_main 221 231 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 35/0) Total: 35 bytes --- coreutils/uname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coreutils/uname.c') diff --git a/coreutils/uname.c b/coreutils/uname.c index 4c3bf2f3b..33d026f18 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c @@ -73,7 +73,7 @@ static const unsigned short utsname_offset[] = { int uname_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int uname_main(int argc UNUSED_PARAM, char **argv) { -#if ENABLE_FEATURE_UNEXPAND_LONG_OPTIONS +#if ENABLE_GETOPT_LONG static const char longopts[] ALIGN1 = /* name, has_arg, val */ "all\0" No_argument "a" @@ -97,7 +97,7 @@ int uname_main(int argc UNUSED_PARAM, char **argv) const unsigned short *delta; unsigned toprint; - USE_FEATURE_UNEXPAND_LONG_OPTIONS(applet_long_options = longopts); + USE_GETOPT_LONG(applet_long_options = longopts); toprint = getopt32(argv, options); if (argv[optind]) { /* coreutils-6.9 compat */ -- cgit v1.2.3-55-g6feb