summaryrefslogtreecommitdiff
path: root/lib/save-cwd.c
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
commitd1c1bc7e08105746e0e599e4a3627025de4afd3f (patch)
treea076144fa9746ab7f1dea019ff3d0de1ce78a90b /lib/save-cwd.c
parent28546733a07f8078b9e6c21f52c2e3dcd096af0a (diff)
downloadgnulib-d1c1bc7e08105746e0e599e4a3627025de4afd3f.tar.gz
remove blank line at end and add copyright
tweak cpp indentation
Diffstat (limited to 'lib/save-cwd.c')
-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 87a34e3c18..292bb6809c 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);
}
-