Remove definition/uses of PARAMS.
authorJim Meyering <jim@meyering.net>
Sat, 7 Jun 2003 10:10:31 +0000 (10:10 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 7 Jun 2003 10:10:31 +0000 (10:10 +0000)
lib/xgetcwd.h

index 2f6df8a6dbded7d065d4918e40eb13010c10cb6e..63138282e178ba9850d16b9b19be55bfaf54a021 100644 (file)
@@ -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
    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);