From a3417847c3f8955390c1b9b7e9a58bdce3b4ac6c Mon Sep 17 00:00:00 2001 From: kleink Date: Tue, 13 Apr 1999 16:52:37 +0000 Subject: [PATCH] * Declaration mismatch: len is a size_t, not a pointer to one. * Userlevel header: remove argument names from declaration, use __{BEGIN,END}_DECLS to ensure correct linkage. --- sys/arch/m68k/include/sync_icache.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sys/arch/m68k/include/sync_icache.h b/sys/arch/m68k/include/sync_icache.h index ad7ceb8c1d08..2609d6bca759 100644 --- a/sys/arch/m68k/include/sync_icache.h +++ b/sys/arch/m68k/include/sync_icache.h @@ -1,4 +1,5 @@ -/* $NetBSD: sync_icache.h,v 1.2 1999/02/15 04:21:52 hubertf Exp $ */ +/* $NetBSD: sync_icache.h,v 1.3 1999/04/13 16:52:37 kleink Exp $ */ + /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. * All rights reserved. @@ -42,6 +43,10 @@ #ifndef _M68K_SYNC_ICACHE_H_ #define _M68K_SYNC_ICACHE_H_ -void m68k_sync_icache __P((void *addr, size_t *len)); +#include -#endif +__BEGIN_DECLS +void m68k_sync_icache __P((void *, size_t)); +__END_DECLS + +#endif /* !_M68K_SYNC_ICACHE_H_ */