From 15bca3199004ca05908945845371a22ec6316104 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Thu, 23 Jun 2011 20:51:21 +0000 Subject: Don't check dev/ramdisk.h for ioctl(2) commands as it doesn't exist anymore. Noticed by and ok claudio@ --- usr.bin/kdump/Makefile | 3 +-- usr.bin/kdump/mkioctls | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'usr.bin/kdump') diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile index 90a7e9894d0..930a40df852 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.18 2011/06/20 17:54:48 otto Exp $ +# $OpenBSD: Makefile,v 1.19 2011/06/23 20:51:20 matthew Exp $ LDSTATIC=${STATIC} PROG= kdump @@ -14,7 +14,6 @@ ioctl.c: ${.CURDIR}/Makefile ${.CURDIR}/mkioctls ${DESTDIR}/usr/include/crypto/cryptodev.h \ ${DESTDIR}/usr/include/dev/biovar.h \ ${DESTDIR}/usr/include/dev/ccdvar.h \ - ${DESTDIR}/usr/include/dev/ramdisk.h \ ${DESTDIR}/usr/include/dev/systrace.h \ ${DESTDIR}/usr/include/dev/wscons/wsconsio.h \ ${DESTDIR}/usr/include/dev/vndioctl.h \ diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls index c680d44dbf2..0a5ba72cf84 100644 --- a/usr.bin/kdump/mkioctls +++ b/usr.bin/kdump/mkioctls @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: mkioctls,v 1.23 2010/12/29 17:51:48 deraadt Exp $ +# $OpenBSD: mkioctls,v 1.24 2011/06/23 20:51:20 matthew Exp $ # # Copyright (c) 1994 @@ -76,7 +76,6 @@ BEGIN { print "#include " print "#include " print "#include " - print "#include " print "#include " print "#include " print "#include " @@ -91,7 +90,7 @@ BEGIN { print "" } -/^#[ ]*define[ ]*(AGPIOC_|ATAIO|AUDIO_|BIOC|CCDIOC|CDIO|CIOC|CHIO|DIOC|MIDI_|GPIO|SEQUENCER_|TIO|FIO|MTIOC|SIO|OSIO|SESIOC_|SIOC|PCIOC|PPPIOC|PPPOE|RD_|RIOC|RND|STRIOC|SCIOC|OSCIOC|TUN|VNDIOC|WSKBD|WSMOUSE|WSDISPLAY|WSMUX)[A-Z_0-9]*[ ]*_IO/ { +/^#[ ]*define[ ]*(AGPIOC_|ATAIO|AUDIO_|BIOC|CCDIOC|CDIO|CIOC|CHIO|DIOC|MIDI_|GPIO|SEQUENCER_|TIO|FIO|MTIOC|SIO|OSIO|SESIOC_|SIOC|PCIOC|PPPIOC|PPPOE|RIOC|RND|STRIOC|SCIOC|OSCIOC|TUN|VNDIOC|WSKBD|WSMOUSE|WSDISPLAY|WSMUX)[A-Z_0-9]*[ ]*_IO/ { # find where the name starts for (i = 1; i <= NF; i++) -- cgit v1.2.3