Source-Changes-HG archive

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

[src/trunk]: src/sys make this compile again.



details:   https://anonhg.NetBSD.org/src/rev/8e1a8206e80e
branches:  trunk
changeset: 333804:8e1a8206e80e
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 17 02:23:33 2014 +0000

description:
make this compile again.

diffstat:

 sys/dev/clock_subr.c      |  7 +++----
 sys/fs/smbfs/smbfs_subr.c |  5 +++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (61 lines):

diff -r 1999e6e064f5 -r 8e1a8206e80e sys/dev/clock_subr.c
--- a/sys/dev/clock_subr.c      Mon Nov 17 02:16:51 2014 +0000
+++ b/sys/dev/clock_subr.c      Mon Nov 17 02:23:33 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock_subr.c,v 1.23 2014/11/17 02:15:49 christos Exp $ */
+/*     $NetBSD: clock_subr.c,v 1.24 2014/11/17 02:23:33 christos Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -50,7 +50,7 @@
 
 #ifdef _KERNEL
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock_subr.c,v 1.23 2014/11/17 02:15:49 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock_subr.c,v 1.24 2014/11/17 02:23:33 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -63,7 +63,6 @@
 
 #include <dev/clock_subr.h>
 
-static inline int leapyear(uint64_t year);
 #define FEBRUARY       2
 
 /* for easier alignment:
@@ -118,7 +117,7 @@
                year -= i * 4;
 
                for (i = dt->dt_year-year; i < dt->dt_year; i++)
-                       days += days_in_year(i);
+                       days += days_per_year(i);
        }
 
 
diff -r 1999e6e064f5 -r 8e1a8206e80e sys/fs/smbfs/smbfs_subr.c
--- a/sys/fs/smbfs/smbfs_subr.c Mon Nov 17 02:16:51 2014 +0000
+++ b/sys/fs/smbfs/smbfs_subr.c Mon Nov 17 02:23:33 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smbfs_subr.c,v 1.18 2014/11/17 02:15:49 christos Exp $ */
+/*     $NetBSD: smbfs_subr.c,v 1.19 2014/11/17 02:23:33 christos Exp $ */
 
 /*
  * Copyright (c) 2000-2001, Boris Popov
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smbfs_subr.c,v 1.18 2014/11/17 02:15:49 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smbfs_subr.c,v 1.19 2014/11/17 02:23:33 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -45,6 +45,7 @@
 #include <sys/time.h>
 #include <sys/vnode.h>
 #include <sys/sysctl.h>
+#include <sys/clock.h>
 #include <netsmb/iconv.h>
 
 #include <netsmb/smb.h>



Home | Main Index | Thread Index | Old Index