summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/xgetcwd.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/xgetcwd.h b/lib/xgetcwd.h
index 2f6df8a6db..63138282e1 100644
--- a/lib/xgetcwd.h
+++ b/lib/xgetcwd.h
@@ -1,5 +1,5 @@
-/* xgetcwd -- return current directory with unlimited length
- Copyright (C) 1995, 2001 Free Software Foundation, Inc.
+/* prototype for xgetcwd
+ Copyright (C) 1995, 2001, 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
@@ -15,13 +15,4 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#ifndef PARAMS
-# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
-# define PARAMS(args) args
-# else
-# define PARAMS(args) ()
-# endif
-#endif
-
-/* Wrapper function with error checking for standard function. */
-extern char *xgetcwd PARAMS ((void));
+extern char *xgetcwd (void);