From 02cdf4d2c869ecfa1ae5484cf77eefe2fbcc6d94 Mon Sep 17 00:00:00 2001 From: dsl Date: Sat, 14 Mar 2009 14:45:51 +0000 Subject: Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build. --- sys/arch/mips/include/cachectl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/mips/include') diff --git a/sys/arch/mips/include/cachectl.h b/sys/arch/mips/include/cachectl.h index 4af834bd942..a7a6c1e2da4 100644 --- a/sys/arch/mips/include/cachectl.h +++ b/sys/arch/mips/include/cachectl.h @@ -1,4 +1,4 @@ -/* $NetBSD: cachectl.h,v 1.8 2008/04/28 20:23:28 martin Exp $ */ +/* $NetBSD: cachectl.h,v 1.9 2009/03/14 14:46:02 dsl Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -37,8 +37,8 @@ /* * invalidate a range of addresses from the cache. */ -int _cacheflush __P((void *addr, int nbytes, int cacheflags)); -int cacheflush __P((void *addr, int nbytes, int cacheflags)); +int _cacheflush(void *addr, int nbytes, int cacheflags); +int cacheflush(void *addr, int nbytes, int cacheflags); /* cacheflush() flags: */ #define ICACHE 0x01 /* invalidate I-cache */ @@ -46,7 +46,7 @@ int cacheflush __P((void *addr, int nbytes, int cacheflags)); #define BCACHE (ICACHE|DCACHE) /* invalidate both caches, as above */ -int cachectl __P((void *addr, int nbytes, int cacheop)); +int cachectl(void *addr, int nbytes, int cacheop); /* cachectl() cache operations: */ #define CACHEABLE 0x00 /* make page(s) cacheable */ -- cgit