about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/mips/sys
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-10-15 11:56:44 +0000
committerAndreas Jaeger <aj@suse.de>2001-10-15 11:56:44 +0000
commitee88e4575bde341e1ee50ea4b469c8b9b506d747 (patch)
tree72aa8e62e307ab9906573d79a8d39de3dd75e6a4 /sysdeps/unix/sysv/linux/mips/sys
parent0b59811f757c28446a43cb815d6805d9316966dc (diff)
downloadglibc-ee88e4575bde341e1ee50ea4b469c8b9b506d747.tar.gz
glibc-ee88e4575bde341e1ee50ea4b469c8b9b506d747.tar.xz
glibc-ee88e4575bde341e1ee50ea4b469c8b9b506d747.zip
Update.
2001-08-15  Ralf Baechle  <ralf@gnu.org>

	* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype a
	varargs prototype.  Remove dependency from kernel header files.

	* sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
	__USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/sys')
-rw-r--r--sysdeps/unix/sysv/linux/mips/sys/sysmips.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/sys/sysmips.h b/sysdeps/unix/sysv/linux/mips/sys/sysmips.h
index 642a31629d..0677cafaa4 100644
--- a/sysdeps/unix/sysv/linux/mips/sys/sysmips.h
+++ b/sysdeps/unix/sysv/linux/mips/sys/sysmips.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 94, 95, 96, 97, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,14 +22,21 @@
 #include <features.h>
 
 /*
- * Get the kernel definition for sysmips(2)
+ * Commands for the sysmips(2) call
+ *
+ * sysmips(2) is deprecated - though some existing software uses it.
+ * We only support the following commands.  Sysmips exists for compatibility
+ * purposes only so new software should avoid it.
  */
-#include <asm/sysmips.h>
+#define SETNAME                   1	/* set hostname                  */
+#define FLUSH_CACHE		   3	/* writeback and invalidate caches */
+#define MIPS_FIXADE               7	/* control address error fixing  */
+#define MIPS_RDNVRAM              10	/* read NVRAM			 */
+#define MIPS_ATOMIC_SET		2001	/* atomically set variable       */
 
 __BEGIN_DECLS
 
-extern int sysmips (__const int cmd, __const int arg1,
-		    __const int arg2, __const int arg3) __THROW;
+extern int sysmips (__const int cmd, ...) __THROW;
 
 __END_DECLS