Manuel Pégourié-Gonnard | 3385cf4 | 2015-04-02 17:59:30 +0100 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | set =eu | ||||
4 | |||||
5 | HEADERS=$( ls include/mbedtls/*.h ) | ||||
6 | |||||
7 | sed -n -e 's/.*#define \([a-zA-Z0-9_]*\).*/\1/p' $HEADERS \ | ||||
8 | | egrep -v '^(asm|inline|EMIT|_CRT_SECURE_NO_DEPRECATE)$|^MULADDC_' \ | ||||
9 | | sort -u > macros | ||||
10 | |||||
11 | wc -l macros |