mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Use the -H option instead of the deprecated -follow predicate.
This commit is contained in:
parent
33dee81933
commit
e9c67f69d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue