patch-2.3.9 linux/arch/mips/sgi/prom/env.c
Next file: linux/arch/mips/sgi/prom/file.c
Previous file: linux/arch/mips/sgi/prom/console.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.3.8/linux/arch/mips/sgi/prom/env.c
- Orig date:
Tue Oct 20 13:52:55 1998
diff -u --recursive --new-file v2.3.8/linux/arch/mips/sgi/prom/env.c linux/arch/mips/sgi/prom/env.c
@@ -1,22 +0,0 @@
-/*
- * env.c: ARCS environment variable routines.
- *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
- *
- * $Id: env.c,v 1.2 1998/03/27 08:53:46 ralf Exp $
- */
-#include <linux/init.h>
-#include <linux/kernel.h>
-#include <linux/string.h>
-
-#include <asm/sgialib.h>
-
-__initfunc(char *prom_getenv(char *name))
-{
- return romvec->get_evar(name);
-}
-
-__initfunc(long prom_setenv(char *name, char *value))
-{
- return romvec->set_evar(name, value);
-}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)