diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-11-19 18:47:11 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-11-19 18:48:41 +0100 |
commit | 678530558aedf491633ea984b924f78388defee9 (patch) | |
tree | 5273361d34ad9534e84b27f56018f375320f272f /src/basic/cap-to-name.awk | |
parent | 41e24afd2ef0f837083bb08adef8e0d55d54cf10 (diff) |
Prep v235: Added cap-list, which is needed now.
Diffstat (limited to 'src/basic/cap-to-name.awk')
-rw-r--r-- | src/basic/cap-to-name.awk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/basic/cap-to-name.awk b/src/basic/cap-to-name.awk new file mode 100644 index 000000000..402a78202 --- /dev/null +++ b/src/basic/cap-to-name.awk @@ -0,0 +1,9 @@ +BEGIN{ + print "static const char* const capability_names[] = { " +} +{ + printf " [%s] = \"%s\",\n", $1, tolower($1) +} +END{ + print "};" +} |