add #include <lib/libkern/libkern.h> to pull in prototypes

for couple items which don't have implicit prototypes with -ffreestanding
This commit is contained in:
jdolecek 2002-12-09 12:14:10 +00:00
parent 4d74b607a2
commit 4f2661e403
3 changed files with 6 additions and 3 deletions

View File

@ -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 *));

View File

@ -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

View File

@ -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>