summaryrefslogtreecommitdiff
path: root/lib/save-cwd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-10 22:48:02 +0000
committerJim Meyering <jim@meyering.net>2003-01-10 22:48:02 +0000
commit77f6ad8381a74d1f8c90b34a811a19fa3e3252e6 (patch)
tree48aaa8d722a7c0807c1d7355e3bb250370b71c4a /lib/save-cwd.c
parent76ee8c435c0ba2bd8787e27c70d482c1fb6fdbc2 (diff)
downloadcoreutils-77f6ad8381a74d1f8c90b34a811a19fa3e3252e6.tar.xz
Include "xgetcwd.h".
Diffstat (limited to 'lib/save-cwd.c')
-rw-r--r--lib/save-cwd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/save-cwd.c b/lib/save-cwd.c
index b77edb339..4c147efd2 100644
--- a/lib/save-cwd.c
+++ b/lib/save-cwd.c
@@ -1,5 +1,5 @@
/* save-cwd.c -- Save and restore current working directory.
- Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1997, 1998, 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
@@ -48,8 +48,7 @@ extern int errno;
#include "save-cwd.h"
#include "error.h"
-
-char *xgetcwd PARAMS ((void));
+#include "xgetcwd.h"
/* Record the location of the current working directory in CWD so that
the program may change to other directories and later use restore_cwd