diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-07-01 18:00:45 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-09-19 10:37:50 +0200 |
commit | 6f397c2da13c433390036d39ebb9c6144ee54e87 (patch) | |
tree | d4cbef003cbf047f6e6c6adaae8d4095dab5ae70 | |
parent | 0332c32477f9d5821eb4c4b9a7f065bdf3755c50 (diff) | |
download | gnutls-6f397c2da13c433390036d39ebb9c6144ee54e87.tar.gz |
priority_options.gperf: modified for gperf 3.1
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r-- | lib/Makefile.am | 2 | ||||
-rw-r--r-- | lib/priority_options.gperf | 1 |
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 |