Module Name: src
Committed By: plunky
Date: Thu Sep 15 17:59:45 UTC 2011
Modified Files:
src/external/bsd/libpcap/lib: Makefile
Log Message:
revert v1.31 (when this was lib/libpcap/Makefile), the HAVE_PCC
is not any longer required since pcc understands gcc attributes
now
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/libpcap/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/libpcap/lib/Makefile
diff -u src/external/bsd/libpcap/lib/Makefile:1.5 src/external/bsd/libpcap/lib/Makefile:1.6
--- src/external/bsd/libpcap/lib/Makefile:1.5 Tue Aug 16 10:34:23 2011
+++ src/external/bsd/libpcap/lib/Makefile Thu Sep 15 17:59:45 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2011/08/16 10:34:23 christos Exp $
+# $NetBSD: Makefile,v 1.6 2011/09/15 17:59:45 plunky Exp $
.include <bsd.own.mk>
@@ -73,12 +73,7 @@
YHEADER= 1
CPPFLAGS+= -DHAVE_CONFIG_H
-
-.if defined(HAVE_PCC)
-CPPFLAGS+= -D_U_=""
-.elif defined(HAVE_GCC)
CPPFLAGS+= -D_U_="__attribute__((__unused__))"
-.endif
.if (${USE_INET6} != "no")
CPPFLAGS+= -DINET6