tmp
[apps/madmutt.git] / lib-mime / mime-token.sh
index cfba154..c6152c3 100644 (file)
@@ -49,13 +49,16 @@ EOF
 }
 
 do_c() {
-    cat <<EOF | gperf --ignore-case -m16 -l -t -C -F",0" -Nmime_which_token_aux
+    cat <<EOF | gperf --ignore-case -m16 -l -t -C -F",0" -Nmime_which_token_aux | sed -e '/__gnu_inline__/d;s/\<\(__\|\)inline\>//g'
 %{
 `do_hdr`
 
 #include <lib-lib/lib-lib.h>
 #include "mime-token.h"
 
+static const struct tok *
+mime_which_token_aux(const char *str, unsigned int len);
+
 %}
 struct tok { const char *name; int val; };
 %%