projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workaround a stupid issue in how decoding is performed in mutt *sigh*
[apps/madmutt.git]
/
lib-mime
/
mime-token.sh
diff --git
a/lib-mime/mime-token.sh
b/lib-mime/mime-token.sh
index
cfba154
..
c6152c3
100644
(file)
--- a/
lib-mime/mime-token.sh
+++ b/
lib-mime/mime-token.sh
@@
-49,13
+49,16
@@
EOF
}
do_c() {
}
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"
%{
`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; };
%%
%}
struct tok { const char *name; int val; };
%%