aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikel <mikel@NetBSD.org>1997-07-25 05:54:42 +0000
committermikel <mikel@NetBSD.org>1997-07-25 05:54:42 +0000
commit7b1be63ed46c8fd347c9183164828e54f2178d05 (patch)
treef4350dc3a4b59496c402e27024bcde8b55489d7b
parent297319a6da6243e3c5a633b2a86965f8729b13e3 (diff)
downloadbsd-progress-7b1be63ed46c8fd347c9183164828e54f2178d05.tar.gz
bsd-progress-7b1be63ed46c8fd347c9183164828e54f2178d05.tar.zst
bsd-progress-7b1be63ed46c8fd347c9183164828e54f2178d05.zip
add parens in isleap() for gcc -Wall
-rw-r--r--include/tzfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tzfile.h b/include/tzfile.h
index 7f796c5..b5cf986 100644
--- a/include/tzfile.h
+++ b/include/tzfile.h
@@ -1,4 +1,4 @@
-/* $NetBSD: tzfile.h,v 1.3 1994/10/26 00:56:37 cgd Exp $ */
+/* $NetBSD: tzfile.h,v 1.4 1997/07/25 05:54:42 mikel Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -148,6 +148,6 @@ struct tzhead {
** that will probably do.
*/
-#define isleap(y) (((y) % 4) == 0 && ((y) % 100) != 0 || ((y) % 400) == 0)
+#define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0)
#endif /* !_TZFILE_H_ */