]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include "xgetcwd.h".
authorJim Meyering <jim@meyering.net>
Fri, 10 Jan 2003 22:55:33 +0000 (22:55 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 10 Jan 2003 22:55:33 +0000 (22:55 +0000)
src/df.c
src/pwd.c

index df143739bfe79097680b85533312198911cf7cc3..e498e8a3f9c2a8f8e9079361cafe55609103ed9c 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -1,5 +1,5 @@
 /* df - summarize free disk space
-   Copyright (C) 91, 1995-2002 Free Software Foundation, Inc.
+   Copyright (C) 91, 1995-2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -39,6 +39,7 @@
 #include "path-concat.h"
 #include "quote.h"
 #include "save-cwd.h"
+#include "xgetcwd.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
 #define PROGRAM_NAME "df"
@@ -46,8 +47,6 @@
 #define AUTHORS \
   N_ ("Torbjorn Granlund, David MacKenzie, Larry McVoy, and Paul Eggert")
 
-char *xgetcwd ();
-
 /* Name this program was run with. */
 char *program_name;
 
index 9e53b6143c3d930e10913e1b575874477be88cfb..9d5aa15f2122aa7957c767b0ba3aa0616ccbac09 100644 (file)
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -1,5 +1,5 @@
 /* pwd - print current directory
-   Copyright (C) 1994-1997, 1999-2002 Free Software Foundation, Inc.
+   Copyright (C) 1994-1997, 1999-2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include "closeout.h"
 #include "long-options.h"
 #include "error.h"
+#include "xgetcwd.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
 #define PROGRAM_NAME "pwd"
 
 #define AUTHORS "Jim Meyering"
 
-char *xgetcwd ();
-
 /* The name this program was run with. */
 char *program_name;