Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch include <lib/libkern/libkern.h> for intoa()/inet_nt...
details: https://anonhg.NetBSD.org/src/rev/99cbe53c2185
branches: trunk
changeset: 472795:99cbe53c2185
user: drochner <drochner%NetBSD.org@localhost>
date: Fri May 07 16:19:27 1999 +0000
description:
include <lib/libkern/libkern.h> for intoa()/inet_ntoa()
diffstat:
sys/arch/alpha/stand/netboot/dev_net.c | 5 ++++-
sys/arch/hp300/stand/common/netio.c | 4 +++-
sys/arch/i386/stand/netboot/dev_net.c | 5 ++++-
sys/arch/macppc/stand/ofwboot/net.c | 4 +++-
sys/arch/mvme68k/stand/netboot/dev_net.c | 4 +++-
sys/arch/next68k/stand/boot/en.c | 4 +++-
sys/arch/ofppc/stand/ofwboot/net.c | 4 +++-
sys/arch/sparc/stand/common/net.c | 4 +++-
sys/arch/sparc64/stand/ofwboot/net.c | 4 +++-
sys/arch/vax/boot/boot/netio.c | 4 +++-
sys/arch/vax/boot/netio.c | 4 +++-
11 files changed, 35 insertions(+), 11 deletions(-)
diffs (200 lines):
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/alpha/stand/netboot/dev_net.c
--- a/sys/arch/alpha/stand/netboot/dev_net.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/alpha/stand/netboot/dev_net.c Fri May 07 16:19:27 1999 +0000
@@ -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
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/hp300/stand/common/netio.c
--- a/sys/arch/hp300/stand/common/netio.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/hp300/stand/common/netio.c Fri May 07 16:19:27 1999 +0000
@@ -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() */
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/i386/stand/netboot/dev_net.c
--- a/sys/arch/i386/stand/netboot/dev_net.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/i386/stand/netboot/dev_net.c Fri May 07 16:19:27 1999 +0000
@@ -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
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/macppc/stand/ofwboot/net.c
--- a/sys/arch/macppc/stand/ofwboot/net.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/macppc/stand/ofwboot/net.c Fri May 07 16:19:27 1999 +0000
@@ -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;
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/mvme68k/stand/netboot/dev_net.c
--- a/sys/arch/mvme68k/stand/netboot/dev_net.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/mvme68k/stand/netboot/dev_net.c Fri May 07 16:19:27 1999 +0000
@@ -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"
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/next68k/stand/boot/en.c
--- a/sys/arch/next68k/stand/boot/en.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/next68k/stand/boot/en.c Fri May 07 16:19:27 1999 +0000
@@ -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))
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/ofppc/stand/ofwboot/net.c
--- a/sys/arch/ofppc/stand/ofwboot/net.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/ofppc/stand/ofwboot/net.c Fri May 07 16:19:27 1999 +0000
@@ -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;
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/sparc/stand/common/net.c
--- a/sys/arch/sparc/stand/common/net.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/sparc/stand/common/net.c Fri May 07 16:19:27 1999 +0000
@@ -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];
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/sparc64/stand/ofwboot/net.c
--- a/sys/arch/sparc64/stand/ofwboot/net.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/sparc64/stand/ofwboot/net.c Fri May 07 16:19:27 1999 +0000
@@ -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;
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/vax/boot/boot/netio.c
--- a/sys/arch/vax/boot/boot/netio.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/vax/boot/boot/netio.c Fri May 07 16:19:27 1999 +0000
@@ -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;
diff -r 1230b4892db4 -r 99cbe53c2185 sys/arch/vax/boot/netio.c
--- a/sys/arch/vax/boot/netio.c Fri May 07 15:40:57 1999 +0000
+++ b/sys/arch/vax/boot/netio.c Fri May 07 16:19:27 1999 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index