summaryrefslogtreecommitdiff
path: root/lib/getdate.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-01-03 11:56:58 +0000
committerJim Meyering <jim@meyering.net>1998-01-03 11:56:58 +0000
commitd46bab3a59b9eae5861cfed5b9aef8ceba4762ff (patch)
treeb3bbb1457d613e09ace4fabf182be685e8aa8918 /lib/getdate.h
parent541699c01cc5503edfd04cf36d1b7fd2d4760ff8 (diff)
downloadcoreutils-d46bab3a59b9eae5861cfed5b9aef8ceba4762ff.tar.xz
Guard PARAMS-enabling definition with
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent.
Diffstat (limited to 'lib/getdate.h')
-rw-r--r--lib/getdate.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/getdate.h b/lib/getdate.h
index db2dba4b7..7d97c6817 100644
--- a/lib/getdate.h
+++ b/lib/getdate.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
@@ -18,13 +18,13 @@
# include <config.h>
#endif
-# ifndef PARAMS
-# if defined (__GNUC__) || __STDC__
-# define PARAMS(args) args
-# else
-# define PARAMS(args) ()
-# endif
+#ifndef PARAMS
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(args) args
+# else
+# define PARAMS(args) ()
# endif
+#endif
#if defined (vms)
# include <types.h>