Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/libpcap/lib revert v1.31 (when this was lib/lib...



details:   https://anonhg.NetBSD.org/src/rev/3aa4cd199bbe
branches:  trunk
changeset: 769606:3aa4cd199bbe
user:      plunky <plunky%NetBSD.org@localhost>
date:      Thu Sep 15 17:59:45 2011 +0000

description:
revert v1.31 (when this was lib/libpcap/Makefile), the HAVE_PCC
is not any longer required since pcc understands gcc attributes
now

diffstat:

 external/bsd/libpcap/lib/Makefile |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r 7cee04dde866 -r 3aa4cd199bbe external/bsd/libpcap/lib/Makefile
--- a/external/bsd/libpcap/lib/Makefile Thu Sep 15 17:52:53 2011 +0000
+++ b/external/bsd/libpcap/lib/Makefile Thu Sep 15 17:59:45 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index