summaryrefslogtreecommitdiff
path: root/lib/readutmp.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-18 07:57:26 +0000
committerJim Meyering <jim@meyering.net>2003-06-18 07:57:26 +0000
commit42cd1376ed08bcb940eac352b2755a77ad9c81e3 (patch)
tree9355ab2fd03f494a5f1a2bca4640ee83d0354db2 /lib/readutmp.h
parentdfbef7497d39592e479d284822f883dce8768633 (diff)
downloadcoreutils-42cd1376ed08bcb940eac352b2755a77ad9c81e3.tar.xz
(PARAMS): Remove. All uses removed.
Diffstat (limited to 'lib/readutmp.h')
-rw-r--r--lib/readutmp.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/lib/readutmp.h b/lib/readutmp.h
index 3d60b8240..d17860154 100644
--- a/lib/readutmp.h
+++ b/lib/readutmp.h
@@ -20,14 +20,6 @@
#ifndef __READUTMP_H__
# define __READUTMP_H__
-# ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-# endif
-
# include <sys/types.h>
/* AIX 4.3.3 has both utmp.h and utmpx.h, but only struct utmp
@@ -184,15 +176,7 @@ extern int errno;
# define WTMP_FILE "/etc/wtmp"
# endif
-# undef PARAMS
-# if defined (__STDC__) && __STDC__
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-
-extern char *extract_trimmed_name PARAMS ((const STRUCT_UTMP *ut));
-extern int read_utmp PARAMS ((const char *filename,
- int *n_entries, STRUCT_UTMP **utmp_buf));
+char *extract_trimmed_name (const STRUCT_UTMP *ut);
+int read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf);
#endif /* __READUTMP_H__ */