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.)
This commit is contained in:
drochner 2003-03-19 17:18:07 +00:00
parent 88929ccff1
commit 3906113e15
1 changed files with 5 additions and 1 deletions

View File

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