summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-18 07:49:35 +0000
committerJim Meyering <jim@meyering.net>2003-06-18 07:49:35 +0000
commit6cf1fd0c87e385fc64132c6bf47f414cf3cc25b5 (patch)
treeb2a68b8618b79204e0d9df4cc15eb297d0097314 /lib
parent38a0ec7565f85c0b9c46ef3e1c554cdbed77af72 (diff)
downloadcoreutils-6cf1fd0c87e385fc64132c6bf47f414cf3cc25b5.tar.xz
(PARAMS): Remove. All uses removed.
Diffstat (limited to 'lib')
-rw-r--r--lib/getline.h14
-rw-r--r--lib/group-member.h11
2 files changed, 3 insertions, 22 deletions
diff --git a/lib/getline.h b/lib/getline.h
index 636e3dda6..ed8fe2717 100644
--- a/lib/getline.h
+++ b/lib/getline.h
@@ -20,22 +20,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
# include <stddef.h>
# include <stdio.h>
-# ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-# endif
-
/* glibc2 has these functions declared in <stdio.h>. Avoid redeclarations. */
# if __GLIBC__ < 2
-int
-getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
+int getline (char **_lineptr, size_t *_n, FILE *_stream);
-int
-getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream));
+int getdelim (char **_lineptr, size_t *_n, int _delimiter, FILE *_stream);
# endif
diff --git a/lib/group-member.h b/lib/group-member.h
index 0538b142a..1787b103e 100644
--- a/lib/group-member.h
+++ b/lib/group-member.h
@@ -1,15 +1,6 @@
#ifndef GROUP_MEMBER_H_
# define GROUP_MEMBER_H_ 1
-# ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-# endif
-
-int
- group_member PARAMS ((gid_t));
+int group_member (gid_t);
#endif /* GROUP_MEMBER_H_ */