Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 include <arm/conf.h> for prototypes.



details:   https://anonhg.NetBSD.org/src/rev/ff4d0084a9a3
branches:  trunk
changeset: 520238:ff4d0084a9a3
user:      chris <chris%NetBSD.org@localhost>
date:      Sat Jan 05 17:02:22 2002 +0000

description:
include <arm/conf.h> for prototypes.
Correct args to mmopen and mmclose.
Add RCSID line.

diffstat:

 sys/arch/arm/arm32/mem.c |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 852f7d4bd3c3 -r ff4d0084a9a3 sys/arch/arm/arm32/mem.c
--- a/sys/arch/arm/arm32/mem.c  Sat Jan 05 16:36:59 2002 +0000
+++ b/sys/arch/arm/arm32/mem.c  Sat Jan 05 17:02:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mem.c,v 1.3 2002/01/05 00:46:33 chris Exp $    */
+/*     $NetBSD: mem.c,v 1.4 2002/01/05 17:02:22 chris Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -42,6 +42,9 @@
  * Memory special file
  */
 
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.4 2002/01/05 17:02:22 chris Exp $");
+
 #include <sys/param.h>
 #include <sys/conf.h>
 #include <sys/buf.h>
@@ -52,6 +55,7 @@
 #include <sys/fcntl.h>
 
 #include <machine/cpu.h>
+#include <arm/conf.h>
 
 #include <uvm/uvm_extern.h>
 
@@ -61,9 +65,10 @@
 
 /*ARGSUSED*/
 int
-mmopen(dev, flag, mode)
+mmopen(dev, flag, mode, p)
        dev_t dev;
        int flag, mode;
+       struct proc *p;
 {
        switch (minor(dev)) {
        default:
@@ -74,9 +79,10 @@
 
 /*ARGSUSED*/
 int
-mmclose(dev, flag, mode)
+mmclose(dev, flag, mode, p)
        dev_t dev;
        int flag, mode;
+       struct proc *p;
 {
 
        return (0);



Home | Main Index | Thread Index | Old Index