diff options
| author | mikel <mikel@NetBSD.org> | 1997-07-25 05:54:42 +0000 |
|---|---|---|
| committer | mikel <mikel@NetBSD.org> | 1997-07-25 05:54:42 +0000 |
| commit | c23e815bb48187cebc64571069b6bbde3f8f97cc (patch) | |
| tree | 77ee882f152f46a66fd6244d5cbb0e071e4add35 /include | |
| parent | 90f3e3549b613088191612fcd77a4d4f108a910e (diff) | |
add parens in isleap() for gcc -Wall
Diffstat (limited to 'include')
| -rw-r--r-- | include/tzfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tzfile.h b/include/tzfile.h index 7f796c55cc6..b5cf986ed7f 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_ */ |
