From: Will Dietz Date: Sat, 31 Mar 2018 10:55:45 +0000 (-0500) Subject: generate-af-list.sh: slightly generalize pattern, fix w/musl (#8629) X-Git-Tag: v239~452 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=203690537b2d2c099a1380e0950d07981b4471c4;p=thirdparty%2Fsystemd.git generate-af-list.sh: slightly generalize pattern, fix w/musl (#8629) Accept definitions to other AF_ constants, not just PF_ ones, such as: #define AF_LINUX AF_LOCAL It may not be necessary to impose any restriction on the definitions of the macros extracted, but for now keep most of that requirement but match AF_* as well. --- diff --git a/src/basic/generate-af-list.sh b/src/basic/generate-af-list.sh index fa74198e58a..39e2dad5e7a 100755 --- a/src/basic/generate-af-list.sh +++ b/src/basic/generate-af-list.sh @@ -3,4 +3,4 @@ set -eu $1 -E -dM -include sys/socket.h -