summaryrefslogtreecommitdiffstats
path: root/source/script/mkproto.awk
diff options
context:
space:
mode:
Diffstat (limited to 'source/script/mkproto.awk')
-rw-r--r--source/script/mkproto.awk10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk
index 9b0aa360bcc..c701ed41cda 100644
--- a/source/script/mkproto.awk
+++ b/source/script/mkproto.awk
@@ -72,6 +72,11 @@ END {
printf "char *%s(int );\n", a[2]
}
+/^FN_LOCAL_CONST_STRING/ {
+ split($0,a,"[,()]")
+ printf "const char *%s(int );\n", a[2]
+}
+
/^FN_LOCAL_INT/ {
split($0,a,"[,()]")
printf "int %s(int );\n", a[2]
@@ -97,6 +102,11 @@ END {
printf "char *%s(void);\n", a[2]
}
+/^FN_GLOBAL_CONST_STRING/ {
+ split($0,a,"[,()]")
+ printf "const char *%s(void);\n", a[2]
+}
+
/^FN_GLOBAL_INT/ {
split($0,a,"[,()]")
printf "int %s(void);\n", a[2]