From e5739032a85e93ffbfd291ef2c3e07f52b45a84f Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Tue, 22 Sep 2020 14:17:02 +0200 Subject: Fix warning due to relaxed function declaration prototype Fixes this: libintl/libintl.c:81:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] const char *_nl_expand_alias () { return NULL; } ^~~~~~~~~~~~~~~~ Signed-off-by: Yann Sionneau --- libintl/libintl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libintl') diff --git a/libintl/libintl.c b/libintl/libintl.c index 0851fac1c..b100ef542 100644 --- a/libintl/libintl.c +++ b/libintl/libintl.c @@ -78,5 +78,5 @@ char *bind_textdomain_codeset(const char *domainname, const char *codeset) } /* trick configure tests checking for gnu libintl, as in the copy included in gdb */ -const char *_nl_expand_alias () { return NULL; } +const char *_nl_expand_alias (void) { return NULL; } int _nl_msg_cat_cntr = 0; -- cgit v1.2.3