Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/kdump simplify
details: https://anonhg.NetBSD.org/src/rev/3f24dd7ec34b
branches: trunk
changeset: 811298:3f24dd7ec34b
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 22 00:29:58 2015 +0000
description:
simplify
diffstat:
usr.bin/kdump/mkioctls | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r ae7056821314 -r 3f24dd7ec34b usr.bin/kdump/mkioctls
--- a/usr.bin/kdump/mkioctls Wed Oct 21 21:45:30 2015 +0000
+++ b/usr.bin/kdump/mkioctls Thu Oct 22 00:29:58 2015 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkioctls,v 1.44 2015/09/27 03:37:16 christos Exp $
+# $NetBSD: mkioctls,v 1.45 2015/10/22 00:29:58 christos Exp $
#
# Copyright (c) 1994
# The Regents of the University of California. All rights reserved.
@@ -84,13 +84,12 @@
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 - | \
+ -dM "${@}" | \
${AWK} '
BEGIN {
keep["SLIOCGUNIT"] = 1; # Same as PPPIOCGASYNCMAP
Home |
Main Index |
Thread Index |
Old Index