summaryrefslogtreecommitdiff
path: root/lib/readutmp.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-04-04 18:16:51 +0000
committerJim Meyering <jim@meyering.net>1998-04-04 18:16:51 +0000
commit3483943ebcf392b2d9894f5088d4e59244fad9a7 (patch)
tree4f12df968d9783e8f4efa2a0ceb5b15be486feef /lib/readutmp.h
parent108b074aea63e9a46103ceb98d2683c726bf151e (diff)
downloadcoreutils-3483943ebcf392b2d9894f5088d4e59244fad9a7.tar.xz
(PARAMS): Define.
Diffstat (limited to 'lib/readutmp.h')
-rw-r--r--lib/readutmp.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/readutmp.h b/lib/readutmp.h
index f96b9dc49..069895f34 100644
--- a/lib/readutmp.h
+++ b/lib/readutmp.h
@@ -1,5 +1,5 @@
/* Declarations for GNU's read utmp module.
- Copyright (C) 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
+ Copyright (C) 92, 93, 94, 95, 96, 1997, 1998 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,6 +20,14 @@
#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 <stdio.h>
# include <sys/types.h>