Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sup/source Fix a lint warning by removing some #ifd...
details: https://anonhg.NetBSD.org/src/rev/7cbcf4672ef1
branches: trunk
changeset: 533927:7cbcf4672ef1
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Jul 10 23:55:06 2002 +0000
description:
Fix a lint warning by removing some #ifdef lint (!?!).
diffstat:
usr.sbin/sup/source/scan.c | 6 +-----
usr.sbin/sup/source/supcparse.c | 6 +-----
2 files changed, 2 insertions(+), 10 deletions(-)
diffs (42 lines):
diff -r 8f93db0fb6d8 -r 7cbcf4672ef1 usr.sbin/sup/source/scan.c
--- a/usr.sbin/sup/source/scan.c Wed Jul 10 23:49:18 2002 +0000
+++ b/usr.sbin/sup/source/scan.c Wed Jul 10 23:55:06 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scan.c,v 1.15 2002/07/10 21:28:13 wiz Exp $ */
+/* $NetBSD: scan.c,v 1.16 2002/07/10 23:55:06 wiz Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -149,11 +149,7 @@
*** E X T E R N ***
*************************/
-#ifdef lint
-static char _argbreak;
-#else
extern char _argbreak; /* break character from nxtarg */
-#endif
extern TREELIST *listTL; /* list of trees for scanning */
extern TREE *listT; /* final list of files in collection */
diff -r 8f93db0fb6d8 -r 7cbcf4672ef1 usr.sbin/sup/source/supcparse.c
--- a/usr.sbin/sup/source/supcparse.c Wed Jul 10 23:49:18 2002 +0000
+++ b/usr.sbin/sup/source/supcparse.c Wed Jul 10 23:55:06 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: supcparse.c,v 1.11 2002/07/10 20:19:45 wiz Exp $ */
+/* $NetBSD: supcparse.c,v 1.12 2002/07/10 23:55:06 wiz Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -63,11 +63,7 @@
#include "supextern.h"
-#ifdef lint
-static char _argbreak;
-#else
extern char _argbreak; /* break character from nxtarg */
-#endif
typedef enum { /* supfile options */
OHOST, OBASE, OHOSTBASE, OPREFIX, ORELEASE,
Home |
Main Index |
Thread Index |
Old Index