From 7b1be63ed46c8fd347c9183164828e54f2178d05 Mon Sep 17 00:00:00 2001 From: mikel Date: Fri, 25 Jul 1997 05:54:42 +0000 Subject: add parens in isleap() for gcc -Wall --- include/tzfile.h | 4 ++-- 1 file 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_ */ -- cgit v1.2.3-56-ge451