From: Bruno Haible Date: Sun, 6 Sep 2020 23:33:56 +0000 (+0200) Subject: Fix "warning: this function declaration is not a prototype". X-Git-Tag: v0.21.1~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4bd49ea620c1912573c67689b1f5f3541275ee2;p=thirdparty%2Fgettext.git Fix "warning: this function declaration is not a prototype". * gnulib-local/lib/xgetcwd.c (xgetcwd): Use ANSI C prototype syntax. --- diff --git a/gnulib-local/lib/xgetcwd.c b/gnulib-local/lib/xgetcwd.c index d19f45cde..ff37e7bb7 100644 --- a/gnulib-local/lib/xgetcwd.c +++ b/gnulib-local/lib/xgetcwd.c @@ -53,7 +53,7 @@ char *getwd (); Return NULL and set errno on error. */ char * -xgetcwd () +xgetcwd (void) { char *ret; unsigned path_max;