changeset 4374:d6d11da56163

Remove definition/uses of PARAMS.
author Jim Meyering <jim@meyering.net>
date Sat, 07 Jun 2003 10:10:31 +0000
parents 41b34c3271a8
children a7c41aea8daa
files lib/xgetcwd.h
diffstat 1 files changed, 3 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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);