]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/af-to-name.awk
tree-wide: make new/new0/malloc_multiply/reallocarray safe for size 0
[thirdparty/systemd.git] / src / basic / af-to-name.awk
1 BEGIN{
2 print "static const char* const af_names[] = { "
3 }
4 !/AF_FILE/ && !/AF_ROUTE/ && !/AF_LOCAL/ {
5 printf " [%s] = \"%s\",\n", $1, $1
6 }
7 END{
8 print "};"
9 }