Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/kdump Add "sys/dkbad.h" for DIOCSBAD from sys/dkio.h.
details: https://anonhg.NetBSD.org/src/rev/6a6978b39924
branches: trunk
changeset: 566489:6a6978b39924
user: hannken <hannken%NetBSD.org@localhost>
date: Mon May 10 20:41:32 2004 +0000
description:
Add "sys/dkbad.h" for DIOCSBAD from sys/dkio.h.
Use # to start comment in awk program.
diffstat:
usr.bin/kdump/mkioctls | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (35 lines):
diff -r 31825dbbb35e -r 6a6978b39924 usr.bin/kdump/mkioctls
--- a/usr.bin/kdump/mkioctls Mon May 10 20:39:37 2004 +0000
+++ b/usr.bin/kdump/mkioctls Mon May 10 20:41:32 2004 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkioctls,v 1.16 2004/05/10 15:25:57 christos Exp $
+# $NetBSD: mkioctls,v 1.17 2004/05/10 20:41:32 hannken Exp $
#
# Copyright (c) 1994
# The Regents of the University of California. All rights reserved.
@@ -44,6 +44,7 @@
echo "#include <sys/types.h>"
echo "#include <sys/param.h>"
echo "#include <sys/disk.h>"
+echo "#include <sys/dkbad.h>"
echo "#include <sys/mount.h>"
echo "#include <sys/termios.h>"
echo "#include <sys/disklabel.h>"
@@ -64,11 +65,11 @@
${CC:-cc} -E -nostdinc -idirafter $DESTDIR/usr/include -dM ${1+"$@"} | tee sourcefile | awk '
BEGIN {
- keep["SLIOCGUNIT"] = 1; /* Same as PPPIOCGASYNCMAP */
- keep["SIOCRMNAT"] = 1; /* Same as SIOCRMAFR */
- keep["SIOCADNAT"] = 1; /* Same as SIOCADAFR */
- keep["SIOCDELST"] = 1; /* Same as SIOCRMNAT */
- keep["CHIOGPICKER"] = 1; /* Same as CDIOREADTOCHEADER */
+ keep["SLIOCGUNIT"] = 1; # Same as PPPIOCGASYNCMAP
+ keep["SIOCRMNAT"] = 1; # Same as SIOCRMAFR
+ keep["SIOCADNAT"] = 1; # Same as SIOCADAFR
+ keep["SIOCDELST"] = 1; # Same as SIOCRMNAT
+ keep["CHIOGPICKER"] = 1; # Same as CDIOREADTOCHEADER
print ""
print "char *ioctlname __P((long));"
Home |
Main Index |
Thread Index |
Old Index