Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/kdump Kill sys/modctl.h which we don't need.
details: https://anonhg.NetBSD.org/src/rev/851e4c728588
branches: trunk
changeset: 340734:851e4c728588
user: christos <christos%NetBSD.org@localhost>
date: Sun Sep 27 03:37:16 2015 +0000
description:
Kill sys/modctl.h which we don't need.
diffstat:
usr.bin/kdump/mkioctls | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r d901ef0a42fc -r 851e4c728588 usr.bin/kdump/mkioctls
--- a/usr.bin/kdump/mkioctls Sat Sep 26 20:28:55 2015 +0000
+++ b/usr.bin/kdump/mkioctls Sun Sep 27 03:37:16 2015 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkioctls,v 1.43 2015/05/20 07:16:15 matt Exp $
+# $NetBSD: mkioctls,v 1.44 2015/09/27 03:37:16 christos Exp $
#
# Copyright (c) 1994
# The Regents of the University of California. All rights reserved.
@@ -84,12 +84,13 @@
echo "#include <$i>"
done | ${SED} -e "s,${DESTDIR}/usr/include/,,g"
+grep -v "<sys/modctl.h>" ${1+"$@"} | \
${CC} -E -nostdinc -isystem ${DESTDIR}/usr/include \
-I${DESTDIR}/usr/X11R7/include \
-I${DESTDIR}/usr/X11R7/include/pixman-1 \
-I${DESTDIR}/usr/X11R7/include/libdrm \
-D_VIA_DRM_H_ \
- -dM ${1+"$@"} | \
+ -dM - | \
${AWK} '
BEGIN {
keep["SLIOCGUNIT"] = 1; # Same as PPPIOCGASYNCMAP
Home |
Main Index |
Thread Index |
Old Index