about summary refs log tree commit diff
path: root/sysdeps/stub
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub')
-rw-r--r--sysdeps/stub/_exit.c8
-rw-r--r--sysdeps/stub/socket.c4
-rw-r--r--sysdeps/stub/socketpair.c4
-rw-r--r--sysdeps/stub/stdio_lim.h2
4 files changed, 8 insertions, 10 deletions
diff --git a/sysdeps/stub/_exit.c b/sysdeps/stub/_exit.c
index 4b2c59a48b..c8f242b71f 100644
--- a/sysdeps/stub/_exit.c
+++ b/sysdeps/stub/_exit.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1994, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 94, 95, 96 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
@@ -23,12 +23,12 @@ Cambridge, MA 02139, USA.  */
 /* The function `_exit' should take a status argument and simply
    terminate program execution, using the low-order 8 bits of the
    given integer as status.  */
-__NORETURN void
-DEFUN(_exit, (status), int status)
+void
+_exit (status)
+     int status;
 {
   status &= 0xff;
   abort ();
 }
 
-
 stub_warning (_exit)
diff --git a/sysdeps/stub/socket.c b/sysdeps/stub/socket.c
index 5012cf2cc9..26f550db87 100644
--- a/sysdeps/stub/socket.c
+++ b/sysdeps/stub/socket.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996 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
@@ -25,7 +25,7 @@ Cambridge, MA 02139, USA.  */
    Returns a file descriptor for the new socket, or -1 for errors.  */
 int
 DEFUN(socket, (domain, type, protocol),
-      int domain AND enum __socket_type type AND int protocol)
+      int domain AND int type AND int protocol)
 {
   errno = ENOSYS;
   return -1;
diff --git a/sysdeps/stub/socketpair.c b/sysdeps/stub/socketpair.c
index 77889b486d..bc9b4b50f2 100644
--- a/sysdeps/stub/socketpair.c
+++ b/sysdeps/stub/socketpair.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996 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
@@ -26,7 +26,7 @@ Cambridge, MA 02139, USA.  */
    one will be chosen automatically.  Returns 0 on success, -1 for errors.  */
 int
 DEFUN(socketpair, (domain, type, protocol, fds),
-      int domain AND enum __socket_type type AND int protocol AND int fds[2])
+      int domain AND int type AND int protocol AND int fds[2])
 {
   errno = ENOSYS;
   return -1;
diff --git a/sysdeps/stub/stdio_lim.h b/sysdeps/stub/stdio_lim.h
index 1a9125b55a..59b6a40ebe 100644
--- a/sysdeps/stub/stdio_lim.h
+++ b/sysdeps/stub/stdio_lim.h
@@ -1,6 +1,4 @@
 #define	L_tmpnam	1
 #define	TMPMAX		0
-#define	L_ctermid	1
-#define	L_cuserid	1
 #define	FOPEN_MAX	16
 #define	FILENAME_MAX	14