changeset 1299:f8b90b628db6

(PARAMS): Define.
author Jim Meyering <jim@meyering.net>
date Sat, 04 Apr 1998 18:16:51 +0000
parents 5cb98e074eae
children cd8d05a4356e
files lib/readutmp.h
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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>