patch-2.1.101 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

diff -u --recursive --new-file v2.1.100/linux/arch/mips/sgi/prom/env.c linux/arch/mips/sgi/prom/env.c
@@ -1,20 +1,22 @@
-/* $Id: env.c,v 1.1.1.1 1997/06/01 03:16:40 ralf Exp $
+/*
  * env.c: ARCS environment variable routines.
  *
  * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ *
+ * $Id: env.c,v 1.2 1998/05/01 01:35:24 ralf Exp $
  */
-
+#include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
 
 #include <asm/sgialib.h>
 
-char *prom_getenv(char *name)
+__initfunc(char *prom_getenv(char *name))
 {
 	return romvec->get_evar(name);
 }
 
-long prom_setenv(char *name, char *value)
+__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, slshen@lbl.gov