Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/time Make yeartot() declaration match prototype.



details:   https://anonhg.NetBSD.org/src/rev/2848c39252bf
branches:  trunk
changeset: 332768:2848c39252bf
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Oct 08 13:13:34 2014 +0000

description:
Make yeartot() declaration match prototype.

diffstat:

 lib/libc/time/zdump.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5164ece8bab2 -r 2848c39252bf lib/libc/time/zdump.c
--- a/lib/libc/time/zdump.c     Wed Oct 08 10:30:27 2014 +0000
+++ b/lib/libc/time/zdump.c     Wed Oct 08 13:13:34 2014 +0000
@@ -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 @@
 }
 
 static time_t
-yeartot(const long y)
+yeartot(const intmax_t y)
 {
        intmax_t        myy, seconds, years;
        time_t          t;



Home | Main Index | Thread Index | Old Index