Guard PARAMS-enabling definition with
authorJim Meyering <jim@meyering.net>
Sat, 3 Jan 1998 11:56:58 +0000 (11:56 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 3 Jan 1998 11:56:58 +0000 (11:56 +0000)
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent.

lib/getdate.h

index db2dba4..7d97c68 100644 (file)
@@ -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
 # 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>