summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.am2
-rw-r--r--lib/priority_options.gperf1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index e90e870e39..9921979942 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -239,5 +239,5 @@ gnutls_asn1_tab.c: $(srcdir)/gnutls.asn
-asn1Parser $(srcdir)/gnutls.asn gnutls_asn1_tab.c
priority_options.h: $(srcdir)/priority_options.gperf
- -gperf --global-table -t $^ > $@-tmp && mv $@-tmp $@
+ -gperf --global-table -t $^ > $@-tmp && sed -i 's/^const struct priority_options_st \*/static const struct priority_options_st \*/' $@-tmp && mv $@-tmp $@
diff --git a/lib/priority_options.gperf b/lib/priority_options.gperf
index 56c79988fd..2484bda642 100644
--- a/lib/priority_options.gperf
+++ b/lib/priority_options.gperf
@@ -1,6 +1,5 @@
%{
typedef void (*option_set_func)(gnutls_priority_t);
-static const struct priority_options_st *in_word_set(register const char *str, register unsigned int len);
%}
%language=ANSI-C
%readonly-tables