}
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/str.h>
+#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; };
%%