summaryrefslogtreecommitdiff
path: root/lib/getline.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-12-21 11:22:51 +0000
committerJim Meyering <jim@meyering.net>1997-12-21 11:22:51 +0000
commit727298f3f5174a6bf60e3d261cf37a6176584a07 (patch)
treee4c235d3a9c450bdf8dabafb811687dcca330be8 /lib/getline.h
parent27d24b46ad376fc3bcdadaedfaf086d977584e7d (diff)
downloadcoreutils-727298f3f5174a6bf60e3d261cf37a6176584a07.tar.xz
Use PARAMS, not __P.
Diffstat (limited to 'lib/getline.h')
-rw-r--r--lib/getline.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/getline.h b/lib/getline.h
index cc6466d72..8dee0f455 100644
--- a/lib/getline.h
+++ b/lib/getline.h
@@ -1,4 +1,4 @@
-/* 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
@@ -20,10 +20,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
# include <stdio.h>
# ifndef PARAMS
-# if defined (__GNUC__) || __STDC__
-# define PARAMS(args) args
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(Args) Args
# else
-# define PARAMS(args) ()
+# define PARAMS(Args) ()
# endif
# endif