BUS_CONFIG_INTR takes 2 devices now: parent and child
[dragonfly.git] / contrib / ncurses-5.4 / include / MKhashsize.sh
blobd11d7bf23c8ad6a6587bd3030b7daeea510b2465
1 #!/bin/sh
3 # MKhashsize.sh --- generate size include for hash functions
5 echo "/*"
6 echo " * hashsize.h -- hash and token table constants"
7 echo " */"
9 CAPS="${1-Caps}"
10 TABSIZE=`grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l`
12 echo ""
13 echo "#define CAPTABSIZE ${TABSIZE}"
14 echo "#define HASHTABSIZE (${TABSIZE} * 2)"