Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib don't extern char *__progname; it's never used!



details:   https://anonhg.NetBSD.org/src/rev/d9169860a7e6
branches:  trunk
changeset: 503762:d9169860a7e6
user:      cgd <cgd%NetBSD.org@localhost>
date:      Mon Feb 12 23:59:17 2001 +0000

description:
don't extern char *__progname; it's never used!

diffstat:

 lib/libc/stdlib/getopt_long.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 6fa4a0fa0402 -r d9169860a7e6 lib/libc/stdlib/getopt_long.c
--- a/lib/libc/stdlib/getopt_long.c     Mon Feb 12 23:56:40 2001 +0000
+++ b/lib/libc/stdlib/getopt_long.c     Mon Feb 12 23:59:17 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getopt_long.c,v 1.10 2001/01/04 03:35:29 lukem Exp $   */
+/*     $NetBSD: getopt_long.c,v 1.11 2001/02/12 23:59:17 cgd Exp $     */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getopt_long.c,v 1.10 2001/01/04 03:35:29 lukem Exp $");
+__RCSID("$NetBSD: getopt_long.c,v 1.11 2001/02/12 23:59:17 cgd Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -101,8 +101,6 @@
 static const char illoptstring[] = "illegal option -- %s";
 
 
-extern char *__progname;
-
 /*
  * Compute the greatest common divisor of a and b.
  */



Home | Main Index | Thread Index | Old Index