1set -e 2
| 1set -e 2
|
3# $FreeBSD: head/usr.bin/kdump/mkioctls 74864 2001-03-27 16:15:25Z ru $
| 3# $FreeBSD: head/usr.bin/kdump/mkioctls 75261 2001-04-06 14:40:26Z ru $
|
4 5if [ "x$1" = "x-s" ]; then 6 use_switch=1 7 shift 8else 9 use_switch=0 10fi 11 12if [ -z "$1" ]; then 13 echo "usage: sh $0 [-s] include-dir" 14 exit 1 15fi 16
| 4 5if [ "x$1" = "x-s" ]; then 6 use_switch=1 7 shift 8else 9 use_switch=0 10fi 11 12if [ -z "$1" ]; then 13 echo "usage: sh $0 [-s] include-dir" 14 exit 1 15fi 16
|
| 17LC_ALL=C; export LC_ALL 18
|
17# Build a list of headers that have ioctls in them. 18# XXX should we use an ANSI cpp? 19# XXX netipx conflicts with netns (leave out netns). 20ioctl_includes=` 21 cd $1 22 find -s * -name '*.h' -follow | 23 egrep -v '^(netns)/' | 24 xargs egrep -l \
--- 69 unchanged lines hidden --- | 19# Build a list of headers that have ioctls in them. 20# XXX should we use an ANSI cpp? 21# XXX netipx conflicts with netns (leave out netns). 22ioctl_includes=` 23 cd $1 24 find -s * -name '*.h' -follow | 25 egrep -v '^(netns)/' | 26 xargs egrep -l \
--- 69 unchanged lines hidden --- |