Move files[] from open.c to globals.c, so that it's possible to

use libsa in an application where there are no file systems or
devices.
This commit is contained in:
thorpej 2002-02-23 05:44:24 +00:00
parent 0fac1c42e9
commit 0b91bc440f
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: globals.c,v 1.3 1995/09/18 21:19:27 pk Exp $ */
/* $NetBSD: globals.c,v 1.4 2002/02/23 05:44:24 thorpej Exp $ */
/*
* globals.c:
@ -16,6 +16,8 @@
u_char bcea[6] = BA; /* broadcast ethernet address */
struct open_file files[SOPEN_MAX];
char rootpath[FNAME_SIZE] = "/"; /* root mount path */
char bootfile[FNAME_SIZE]; /* bootp says to boot this */
char hostname[FNAME_SIZE]; /* our hostname */

View File

@ -1,4 +1,4 @@
/* $NetBSD: open.c,v 1.20 2000/03/30 12:19:48 augustss Exp $ */
/* $NetBSD: open.c,v 1.21 2002/02/23 05:44:24 thorpej Exp $ */
/*-
* Copyright (c) 1993
@ -66,8 +66,6 @@
#include "stand.h"
struct open_file files[SOPEN_MAX];
/*
* File primitives proper
*/