Module Name: src Committed By: matt Date: Tue Jan 31 04:31:38 UTC 2012
Modified Files: src/sys/arch/arm/arm: cpufunc.c src/sys/arch/arm/omap: omap2_prcm.c Log Message: Convert stragglers to use real C89 prototypes. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/arch/arm/arm/cpufunc.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/omap/omap2_prcm.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/arm/arm/cpufunc.c diff -u src/sys/arch/arm/arm/cpufunc.c:1.103 src/sys/arch/arm/arm/cpufunc.c:1.104 --- src/sys/arch/arm/arm/cpufunc.c:1.103 Thu Mar 10 08:06:27 2011 +++ src/sys/arch/arm/arm/cpufunc.c Tue Jan 31 04:31:37 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: cpufunc.c,v 1.103 2011/03/10 08:06:27 bsh Exp $ */ +/* $NetBSD: cpufunc.c,v 1.104 2012/01/31 04:31:37 matt Exp $ */ /* * arm7tdmi support code Copyright (c) 2001 John Fremlin @@ -49,7 +49,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.103 2011/03/10 08:06:27 bsh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.104 2012/01/31 04:31:37 matt Exp $"); #include "opt_compat_netbsd.h" #include "opt_cpuoptions.h" @@ -1298,7 +1298,7 @@ get_cachesize_cp15(int cssr) #endif static void -get_cachetype_cp15() +get_cachetype_cp15(void) { u_int ctype, isize, dsize; u_int multiplier; @@ -2772,8 +2772,7 @@ struct cpu_option armv7_options[] = { }; void -armv7_setup(args) - char *args; +armv7_setup(char *args) { int cpuctrl, cpuctrlmask; @@ -2816,7 +2815,7 @@ armv7_setup(args) /* Clean the data cache to the level of coherency. Slow. */ void -armv7_dcache_wbinv_all() +armv7_dcache_wbinv_all(void) { u_int clidr, loc, level; Index: src/sys/arch/arm/omap/omap2_prcm.c diff -u src/sys/arch/arm/omap/omap2_prcm.c:1.2 src/sys/arch/arm/omap/omap2_prcm.c:1.3 --- src/sys/arch/arm/omap/omap2_prcm.c:1.2 Fri Jul 1 20:30:21 2011 +++ src/sys/arch/arm/omap/omap2_prcm.c Tue Jan 31 04:31:37 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: omap2_prcm.c,v 1.2 2011/07/01 20:30:21 dyoung Exp $ */ +/* $NetBSD: omap2_prcm.c,v 1.3 2012/01/31 04:31:37 matt Exp $ */ /*- * Copyright (c) 2010 Adam Hoka @@ -28,7 +28,7 @@ #include "opt_omap.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: omap2_prcm.c,v 1.2 2011/07/01 20:30:21 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: omap2_prcm.c,v 1.3 2012/01/31 04:31:37 matt Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -110,7 +110,7 @@ prcm_write(bus_addr_t module, bus_addr_t } void -prcm_cold_reset() +prcm_cold_reset(void) { uint32_t val;