mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
Use the -H option instead of the deprecated -follow predicate.
This commit is contained in:
parent
33dee81933
commit
e9c67f69d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126244
@ -20,7 +20,7 @@ LC_ALL=C; export LC_ALL
|
||||
# XXX should we use an ANSI cpp?
|
||||
ioctl_includes=`
|
||||
cd $1
|
||||
find -s * -name '*.h' -follow |
|
||||
find -H -s * -name '*.h' |
|
||||
xargs egrep -l \
|
||||
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' |
|
||||
awk '{printf("#include <%s>\\\\n", $1)}'
|
||||
|
Loading…
Reference in New Issue
Block a user