diff options
| author | christos <christos@NetBSD.org> | 2007-11-09 03:29:20 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2007-11-09 03:29:20 +0000 |
| commit | 0405bf4cb96215fc579a925e572579b8ae22d2d4 (patch) | |
| tree | 13a56c0885941db9f1d0bbd281669325f78e899a /lib/libc/stdlib/getopt_long.c | |
| parent | 70de6b1cab1b63a9759f053512d3c0599b049e5c (diff) | |
always compile getopt_long. some ifdef reduction. more to come.
Diffstat (limited to 'lib/libc/stdlib/getopt_long.c')
| -rw-r--r-- | lib/libc/stdlib/getopt_long.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/stdlib/getopt_long.c b/lib/libc/stdlib/getopt_long.c index 286323993fe..b9dc9853e28 100644 --- a/lib/libc/stdlib/getopt_long.c +++ b/lib/libc/stdlib/getopt_long.c @@ -1,4 +1,4 @@ -/* $NetBSD: getopt_long.c,v 1.23 2007/11/06 22:08:51 christos Exp $ */ +/* $NetBSD: getopt_long.c,v 1.24 2007/11/09 03:29:20 christos Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: getopt_long.c,v 1.23 2007/11/06 22:08:51 christos Exp $"); +__RCSID("$NetBSD: getopt_long.c,v 1.24 2007/11/09 03:29:20 christos Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -72,7 +72,6 @@ static int optreset; __weak_alias(getopt_long,_getopt_long) #endif -#if !HAVE_GETOPT_LONG #define IGNORE_FIRST (*options == '-' || *options == '+') #define PRINT_ERROR ((opterr) && ((*options != ':') \ || (IGNORE_FIRST && options[1] != ':'))) @@ -496,4 +495,3 @@ getopt_long(nargc, nargv, options, long_options, idx) return retval; #undef IDENTICAL_INTERPRETATION } -#endif /* !GETOPT_LONG */ |
