summaryrefslogtreecommitdiff
path: root/libintl
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2020-09-22 14:17:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-09-22 15:54:04 +0200
commite5739032a85e93ffbfd291ef2c3e07f52b45a84f (patch)
treed1778009befe4c3664aaa4d3d59b7ab75f608696 /libintl
parentf3e08e7fa2a364545aba165ff89b8a54f5ef723d (diff)
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 <ysionneau@kalray.eu>
Diffstat (limited to 'libintl')
-rw-r--r--libintl/libintl.c2
1 files changed, 1 insertions, 1 deletions
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;