[PROPOSED PATCH] * localtime.c (tzset_unlocked): Don't return a void expression.
Aug. 27, 2014
9:17 p.m.
The C standard does not allow this, and Sun C 5.12 rejects it. --- localtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localtime.c b/localtime.c index 2434167..622f7d4 100644 --- a/localtime.c +++ b/localtime.c @@ -1229,7 +1229,7 @@ tzsetwall(void) static void tzset_unlocked(void) { - return tzsetlcl(getenv("TZ")); + tzsetlcl(getenv("TZ")); } void -- 1.9.1
4291
Age (days ago)
4291
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Eggert