Module Name: src Committed By: martin Date: Fri Jul 4 08:09:47 UTC 2014
Modified Files: src/sys/arch/playstation2/playstation2: clock.c Log Message: Add missing includes, fix C99 struct initialization To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/playstation2/playstation2/clock.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/playstation2/playstation2/clock.c diff -u src/sys/arch/playstation2/playstation2/clock.c:1.9 src/sys/arch/playstation2/playstation2/clock.c:1.10 --- src/sys/arch/playstation2/playstation2/clock.c:1.9 Mon Mar 31 11:25:49 2014 +++ src/sys/arch/playstation2/playstation2/clock.c Fri Jul 4 08:09:47 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: clock.c,v 1.9 2014/03/31 11:25:49 martin Exp $ */ +/* $NetBSD: clock.c,v 1.10 2014/07/04 08:09:47 martin Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -27,15 +27,17 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.9 2014/03/31 11:25:49 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.10 2014/07/04 08:09:47 martin Exp $"); #include "debug_playstation2.h" #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> /* time */ +#include <sys/proc.h> #include <mips/locore.h> +#include <mips/mips3_clock.h> #include <dev/clock_subr.h> #include <machine/bootinfo.h> @@ -48,7 +50,7 @@ void cpu_initclocks(void) { struct todr_chip_handle todr = { - .todr_gettime_ymdhms = get_bootinfo_tod; + .todr_gettime_ymdhms = get_bootinfo_tod, }; /*