summaryrefslogtreecommitdiff
path: root/sys/arch/mips/include/cachectl.h
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2009-03-14 14:45:51 +0000
committerdsl <dsl@NetBSD.org>2009-03-14 14:45:51 +0000
commit02cdf4d2c869ecfa1ae5484cf77eefe2fbcc6d94 (patch)
tree9a02e625d403e5fcedfdc6be4803e2404356bf31 /sys/arch/mips/include/cachectl.h
parentdfbb3f921a23a1aba4463f31ef9233ac94ce606c (diff)
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
Diffstat (limited to 'sys/arch/mips/include/cachectl.h')
-rw-r--r--sys/arch/mips/include/cachectl.h8
1 files changed, 4 insertions, 4 deletions
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 */