From f3b92d385695aecefd93d5f199be1f64270c2687 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 19 Jun 2009 12:10:38 +0200 Subject: getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTS Signed-off-by: Colin Watson Signed-off-by: Denys Vlasenko --- 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 5a790fb70..df4566063 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_GETOPT_LONG +#if ENABLE_LONG_OPTS 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; - IF_GETOPT_LONG(applet_long_options = longopts); + IF_LONG_OPTS(applet_long_options = longopts); toprint = getopt32(argv, options); if (argv[optind]) { /* coreutils-6.9 compat */ -- cgit v1.2.3-55-g6feb