]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix "warning: no previous prototype for function 'xgetcwd'".
authorBruno Haible <bruno@clisp.org>
Sun, 6 Sep 2020 23:24:03 +0000 (01:24 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Oct 2022 07:30:42 +0000 (09:30 +0200)
* gnulib-local/lib/xgetcwd.c: Include "xgetcwd.h".

gnulib-local/lib/xgetcwd.c

index d0a0dd4e9f04f77b2a9a807743bdb90a3d833775..d19f45cdecaac6c361614def848f1a8354220c08 100644 (file)
@@ -1,5 +1,5 @@
 /* xgetcwd.c -- return current directory with unlimited length
-   Copyright (C) 1992, 1996, 2000, 2003, 2005-2006, 2011 Free
+   Copyright (C) 1992, 1996, 2000, 2003, 2005-2006, 2011, 2020 Free
    Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
@@ -19,6 +19,9 @@
 
 #include <config.h>
 
+/* Specification.  */
+#include "xgetcwd.h"
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>