Module Name:    src
Committed By:   martin
Date:           Wed Oct  8 13:13:34 UTC 2014

Modified Files:
        src/lib/libc/time: zdump.c

Log Message:
Make yeartot() declaration match prototype.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/lib/libc/time/zdump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/time/zdump.c
diff -u src/lib/libc/time/zdump.c:1.37 src/lib/libc/time/zdump.c:1.38
--- src/lib/libc/time/zdump.c:1.37	Tue Oct  7 22:14:46 2014
+++ src/lib/libc/time/zdump.c	Wed Oct  8 13:13:34 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: zdump.c,v 1.37 2014/10/07 22:14:46 christos Exp $	*/
+/*	$NetBSD: zdump.c,v 1.38 2014/10/08 13:13:34 martin Exp $	*/
 /*
 ** This file is in the public domain, so clarified as of
 ** 2009-05-17 by Arthur David Olson.
@@ -6,7 +6,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: zdump.c,v 1.37 2014/10/07 22:14:46 christos Exp $");
+__RCSID("$NetBSD: zdump.c,v 1.38 2014/10/08 13:13:34 martin Exp $");
 #endif /* !defined lint */
 
 /*
@@ -752,7 +752,7 @@ main(int argc, char *argv[])
 }
 
 static time_t
-yeartot(const long y)
+yeartot(const intmax_t y)
 {
 	intmax_t	myy, seconds, years;
 	time_t		t;

Reply via email to