]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix "warning: this function declaration is not a prototype".
authorBruno Haible <bruno@clisp.org>
Sun, 6 Sep 2020 23:33:56 +0000 (01:33 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Oct 2022 07:30:42 +0000 (09:30 +0200)
* gnulib-local/lib/xgetcwd.c (xgetcwd): Use ANSI C prototype syntax.

gnulib-local/lib/xgetcwd.c

index d19f45cdecaac6c361614def848f1a8354220c08..ff37e7bb7903313b51d534785bbbf4ef18a89c8f 100644 (file)
@@ -53,7 +53,7 @@ char *getwd ();
    Return NULL and set errno on error. */
 
 char *
-xgetcwd ()
+xgetcwd (void)
 {
   char *ret;
   unsigned path_max;