Drop main() prototype. Syncs with NetBSD-8
[minix.git] / tools / mkheaderlist.sh
blobd0a075bf4c57bcf329a7889d8ba52dd3896bd350
1 #!/bin/sh
2 # $NetBSD: mkheaderlist.sh,v 1.2 2011/02/05 13:30:26 yamt Exp $
4 # scan the source tree and create the headerlist file which is used by
5 # Makefile.nbincludes.
7 set -e
9 mklist()
11 echo "# \$NetBSD\$"
12 echo "#"
13 echo '# do not edit; this file was automatically generated by:'
14 echo '# $NetBSD: mkheaderlist.sh,v 1.2 2011/02/05 13:30:26 yamt Exp $' | sed -e 's/\$//g'
15 echo
16 cd ../sys/arch && find . -name disklabel.h -o -name elf_machdep.h
19 LIST=headerlist
20 rm -f ${LIST}
21 mklist > ${LIST}