Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/include * Declaration mismatch: len is a size_...



details:   https://anonhg.NetBSD.org/src/rev/e73c393a339b
branches:  trunk
changeset: 471853:e73c393a339b
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Apr 13 16:52:37 1999 +0000

description:
* 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.

diffstat:

 sys/arch/m68k/include/sync_icache.h |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 2f80bef75b5d -r e73c393a339b sys/arch/m68k/include/sync_icache.h
--- a/sys/arch/m68k/include/sync_icache.h       Tue Apr 13 14:49:56 1999 +0000
+++ b/sys/arch/m68k/include/sync_icache.h       Tue Apr 13 16:52:37 1999 +0000
@@ -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 <sys/cdefs.h>
 
-#endif
+__BEGIN_DECLS
+void m68k_sync_icache __P((void *, size_t));
+__END_DECLS
+
+#endif /* !_M68K_SYNC_ICACHE_H_ */



Home | Main Index | Thread Index | Old Index