summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-06-12 12:58:47 +0000
committerJim Meyering <jim@meyering.net>1997-06-12 12:58:47 +0000
commit25f6a4a7c0aef0204e6fd6a96a7a4eab2c6ada20 (patch)
tree55cc61fcd86c0883a23506dd8f019ec3bb03ad5a /lib
parent8eebff20299c330ff359c5f618e37bc467557d79 (diff)
downloadcoreutils-25f6a4a7c0aef0204e6fd6a96a7a4eab2c6ada20.tar.xz
remove blank line at end and add copyright
tweak cpp indentation
Diffstat (limited to 'lib')
-rw-r--r--lib/save-cwd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/save-cwd.c b/lib/save-cwd.c
index 87a34e3c1..292bb6809 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 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1997 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
@@ -38,7 +38,7 @@
#endif
#include <errno.h>
-# ifndef errno
+#ifndef errno
extern int errno;
#endif
@@ -96,7 +96,7 @@ save_cwd (cwd)
}
# endif /* __sun__ || sun */
#else
-#define fchdir(x) (abort (), 0)
+# define fchdir(x) (abort (), 0)
have_working_fchdir = 0;
#endif
}
@@ -152,4 +152,3 @@ free_cwd (cwd)
if (cwd->name)
free (cwd->name);
}
-