include <lib/libkern/libkern.h> for intoa()/inet_ntoa()

This commit is contained in:
drochner 1999-05-07 16:19:27 +00:00
parent 1669ea470b
commit fe310dd299
11 changed files with 35 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dev_net.c,v 1.7 1998/01/23 19:13:28 thorpej Exp $ */
/* $NetBSD: dev_net.c,v 1.8 1999/05/07 16:19:27 drochner Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@ -60,6 +60,9 @@
#include <lib/libsa/netif.h>
#include <lib/libsa/bootparam.h>
#include <lib/libsa/nfs.h>
#include <lib/libkern/libkern.h>
#include "dev_net.h"
#ifndef SUN_BOOTPARAMS

View File

@ -1,4 +1,4 @@
/* $NetBSD: netio.c,v 1.4 1997/10/04 17:20:20 thorpej Exp $ */
/* $NetBSD: netio.c,v 1.5 1999/05/07 16:19:27 drochner Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -97,6 +97,8 @@
#include <lib/libsa/bootparam.h>
#include <lib/libsa/nfs.h>
#include <lib/libkern/libkern.h>
#include <hp300/stand/common/samachdep.h>
extern int nfs_root_node[]; /* XXX - get from nfs_mount() */

View File

@ -1,4 +1,4 @@
/* $NetBSD: dev_net.c,v 1.7 1997/09/17 18:50:24 drochner Exp $ */
/* $NetBSD: dev_net.c,v 1.8 1999/05/07 16:19:28 drochner Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@ -49,6 +49,9 @@
#include <machine/stdarg.h>
#include <netif/netif_small.h>
#include <lib/libkern/libkern.h>
#include "dev_net.h"
#ifdef SUPPORT_BOOTP

View File

@ -1,4 +1,4 @@
/* $NetBSD: net.c,v 1.1 1998/05/15 10:15:59 tsubai Exp $ */
/* $NetBSD: net.c,v 1.2 1999/05/07 16:19:28 drochner Exp $ */
/*
* Copyright (C) 1995 Wolfgang Solfrank.
@ -61,6 +61,8 @@
#include <lib/libsa/net.h>
#include <lib/libsa/netif.h>
#include <lib/libkern/libkern.h>
char rootpath[FNAME_SIZE];
static int netdev_sock = -1;

View File

@ -1,4 +1,4 @@
/* $NetBSD: dev_net.c,v 1.6 1997/07/22 17:41:04 drochner Exp $ */
/* $NetBSD: dev_net.c,v 1.7 1999/05/07 16:19:27 drochner Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@ -56,6 +56,8 @@
#include <machine/prom.h>
#include <lib/libkern/libkern.h>
#include "stand.h"
#include "libsa.h"
#include "net.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: en.c,v 1.2 1999/03/26 06:54:40 dbj Exp $ */
/* $NetBSD: en.c,v 1.3 1999/05/07 16:19:28 drochner Exp $ */
/*
* Copyright (c) 1996 Rolf Grossmann
* All rights reserved.
@ -43,6 +43,8 @@
#include <net.h>
#include <nfs.h>
#include <lib/libkern/libkern.h>
extern char *mg;
#define MON(type, off) (*(type *)((u_int) (mg) + off))

View File

@ -1,4 +1,4 @@
/* $NetBSD: net.c,v 1.3 1998/02/22 07:42:31 mycroft Exp $ */
/* $NetBSD: net.c,v 1.4 1999/05/07 16:19:28 drochner Exp $ */
/*
* Copyright (C) 1995 Wolfgang Solfrank.
@ -61,6 +61,8 @@
#include <lib/libsa/net.h>
#include <lib/libsa/netif.h>
#include <lib/libkern/libkern.h>
char rootpath[FNAME_SIZE];
static int netdev_sock = -1;

View File

@ -1,4 +1,4 @@
/* $NetBSD: net.c,v 1.3 1999/02/15 18:59:36 pk Exp $ */
/* $NetBSD: net.c,v 1.4 1999/05/07 16:19:27 drochner Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@ -60,6 +60,8 @@
#include <lib/libsa/bootparam.h>
#include <lib/libsa/nfs.h>
#include <lib/libkern/libkern.h>
#include <sparc/stand/common/promdev.h>
char rootpath[FNAME_SIZE];

View File

@ -1,4 +1,4 @@
/* $NetBSD: net.c,v 1.2 1999/01/17 20:07:52 eeh Exp $ */
/* $NetBSD: net.c,v 1.3 1999/05/07 16:19:28 drochner Exp $ */
/*
* Copyright (C) 1995 Wolfgang Solfrank.
@ -61,6 +61,8 @@
#include <lib/libsa/net.h>
#include <lib/libsa/netif.h>
#include <lib/libkern/libkern.h>
char rootpath[FNAME_SIZE];
static int netdev_sock = -1;

View File

@ -1,4 +1,4 @@
/* $NetBSD: netio.c,v 1.2 1999/04/01 20:40:07 ragge Exp $ */
/* $NetBSD: netio.c,v 1.3 1999/05/07 16:19:28 drochner Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -97,6 +97,8 @@
#include "lib/libsa/bootparam.h"
#include "lib/libsa/nfs.h"
#include <lib/libkern/libkern.h>
extern int nfs_root_node[]; /* XXX - get from nfs_mount() */
struct in_addr myip, rootip, gateip;

View File

@ -1,4 +1,4 @@
/* $NetBSD: netio.c,v 1.3 1998/10/09 06:13:30 matt Exp $ */
/* $NetBSD: netio.c,v 1.4 1999/05/07 16:19:27 drochner Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -91,6 +91,8 @@
#include <netinet/if_ether.h>
#include <netinet/in_systm.h>
#include <lib/libkern/libkern.h>
#include "stand.h"
#include "samachdep.h"
#include "net.h"