Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/stand/common add #include <lib/libkern/libkern...



details:   https://anonhg.NetBSD.org/src/rev/7ea38d55bdc0
branches:  trunk
changeset: 540287:7ea38d55bdc0
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Dec 09 12:14:10 2002 +0000

description:
add #include <lib/libkern/libkern.h> to pull in prototypes
for couple items which don't have implicit prototypes with -ffreestanding

diffstat:

 sys/arch/pmax/stand/common/bootxx.c  |  3 ++-
 sys/arch/pmax/stand/common/devopen.c |  3 ++-
 sys/arch/pmax/stand/common/rz.c      |  3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r e2cff428bf52 -r 7ea38d55bdc0 sys/arch/pmax/stand/common/bootxx.c
--- a/sys/arch/pmax/stand/common/bootxx.c       Mon Dec 09 09:09:54 2002 +0000
+++ b/sys/arch/pmax/stand/common/bootxx.c       Mon Dec 09 12:14:10 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootxx.c,v 1.24 2001/07/07 14:21:01 simonb Exp $       */
+/*     $NetBSD: bootxx.c,v 1.25 2002/12/09 12:14:10 jdolecek Exp $     */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -77,6 +77,7 @@
 #include <sys/param.h>
 #include <sys/exec_elf.h>
 #include <lib/libsa/stand.h>
+#include <lib/libkern/libkern.h>
 #include <machine/dec_prom.h>
 
 typedef void (*entrypt) __P((int, char **, int, const void *));
diff -r e2cff428bf52 -r 7ea38d55bdc0 sys/arch/pmax/stand/common/devopen.c
--- a/sys/arch/pmax/stand/common/devopen.c      Mon Dec 09 09:09:54 2002 +0000
+++ b/sys/arch/pmax/stand/common/devopen.c      Mon Dec 09 12:14:10 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: devopen.c,v 1.13 1999/11/27 06:46:36 simonb Exp $      */
+/*     $NetBSD: devopen.c,v 1.14 2002/12/09 12:14:10 jdolecek Exp $    */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -39,6 +39,7 @@
  */
 
 #include <lib/libsa/stand.h>
+#include <lib/libkern/libkern.h>
 
 /*
  * Decode the string 'fname', open the device and return the remaining
diff -r e2cff428bf52 -r 7ea38d55bdc0 sys/arch/pmax/stand/common/rz.c
--- a/sys/arch/pmax/stand/common/rz.c   Mon Dec 09 09:09:54 2002 +0000
+++ b/sys/arch/pmax/stand/common/rz.c   Mon Dec 09 12:14:10 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rz.c,v 1.18 2001/09/24 13:22:33 wiz Exp $      */
+/*     $NetBSD: rz.c,v 1.19 2002/12/09 12:14:10 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -39,6 +39,7 @@
  */
 
 #include <lib/libsa/stand.h>
+#include <lib/libkern/libkern.h>
 #include <machine/dec_prom.h>
 #include <machine/stdarg.h>
 



Home | Main Index | Thread Index | Old Index