From: Nikos Mavrogiannopoulos Date: Sat, 15 Jul 2017 15:54:01 +0000 (+0200) Subject: supported_exts.h: make sure that the generated function is static X-Git-Tag: gnutls_3_6_0~323 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bf14c5d081369a5cfcaf3743a7dc6f0cdada7d3;p=thirdparty%2Fgnutls.git supported_exts.h: make sure that the generated function is static That avoids compiler warnings due to missing prototype. Signed-off-by: Nikos Mavrogiannopoulos --- diff --git a/lib/x509/Makefile.am b/lib/x509/Makefile.am index 946ed4afaa..8bf2e04b8b 100644 --- a/lib/x509/Makefile.am +++ b/lib/x509/Makefile.am @@ -82,4 +82,4 @@ libgnutls_x509_la_SOURCES += ocsp.c ocsp_output.c endif supported_exts.h: $(srcdir)/supported_exts.gperf - -gperf --global-table -t $^ > $@-tmp && mv $@-tmp $@ + -gperf --global-table -t $^ > $@-tmp && sed -i 's/^const struct supported_exts_st \*/static const struct supported_exts_st \*/' $@-tmp && mv $@-tmp $@