Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc Need <sys/systm.h> for declaration, ...



details:   https://anonhg.NetBSD.org/src/rev/b958a3e9e606
branches:  trunk
changeset: 487473:b958a3e9e606
user:      kleink <kleink%NetBSD.org@localhost>
date:      Thu Jun 08 07:29:22 2000 +0000

description:
Need <sys/systm.h> for declaration, and make argument declarations match.

diffstat:

 sys/arch/powerpc/powerpc/fubyte.c   |  6 ++++--
 sys/arch/powerpc/powerpc/fuswintr.c |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 2f00ae2ca8f5 -r b958a3e9e606 sys/arch/powerpc/powerpc/fubyte.c
--- a/sys/arch/powerpc/powerpc/fubyte.c Thu Jun 08 07:01:19 2000 +0000
+++ b/sys/arch/powerpc/powerpc/fubyte.c Thu Jun 08 07:29:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fubyte.c,v 1.1 1996/09/30 16:34:45 ws Exp $    */
+/*     $NetBSD: fubyte.c,v 1.2 2000/06/08 07:29:22 kleink Exp $        */
 
 /*-
  * Copyright (C) 1993 Wolfgang Solfrank.
@@ -31,12 +31,14 @@
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <sys/systm.h>
+
 /*
  * Emulate fubyte.
  */
 int
 fubyte(addr)
-char *addr;
+       const void *addr;
 {
        unsigned char c;
        
diff -r 2f00ae2ca8f5 -r b958a3e9e606 sys/arch/powerpc/powerpc/fuswintr.c
--- a/sys/arch/powerpc/powerpc/fuswintr.c       Thu Jun 08 07:01:19 2000 +0000
+++ b/sys/arch/powerpc/powerpc/fuswintr.c       Thu Jun 08 07:29:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fuswintr.c,v 1.1 1996/09/30 16:34:45 ws Exp $  */
+/*     $NetBSD: fuswintr.c,v 1.2 2000/06/08 07:29:54 kleink Exp $      */
 
 /*-
  * Copyright (C) 1994 Wolfgang Solfrank.
@@ -31,6 +31,8 @@
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <sys/systm.h>
+
 /*
  * Emulate fuswintr
  *
@@ -38,7 +40,7 @@
  */
 int
 fuswintr(addr)
-       char *addr;
+       const void *addr;
 {
        return -1;
 }



Home | Main Index | Thread Index | Old Index