summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/bootparam.c
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>2003-03-19 17:18:07 +0000
committerdrochner <drochner@NetBSD.org>2003-03-19 17:18:07 +0000
commit3906113e15b4762cd5eecc3b221ca98ffcb2629e (patch)
tree8e49a6624007390d99820ad899e20c5b8e2a3f1f /sys/lib/libsa/bootparam.c
parent88929ccff1ed546b1b9daa34dddc633e81c5a90e (diff)
Move global variables which are used only by bootparam here.
("domainname" is useless and could be removed, but adding code to skip this in the RPC reply would probably be more expensive than leaving it as a dummy variable.)
Diffstat (limited to 'sys/lib/libsa/bootparam.c')
-rw-r--r--sys/lib/libsa/bootparam.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libsa/bootparam.c b/sys/lib/libsa/bootparam.c
index c9c6d867605..a16003ffb21 100644
--- a/sys/lib/libsa/bootparam.c
+++ b/sys/lib/libsa/bootparam.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bootparam.c,v 1.14 2003/03/12 14:51:31 drochner Exp $ */
+/* $NetBSD: bootparam.c,v 1.15 2003/03/19 17:18:07 drochner Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@@ -64,6 +64,10 @@
struct in_addr bp_server_addr; /* net order */
n_short bp_server_port; /* net order */
+int hostnamelen;
+char domainname[FNAME_SIZE]; /* our DNS domain */
+int domainnamelen;
+
/*
* RPC definitions for bootparamd
*/