aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-08-02 05:27:50 +0000
committerRoland McGrath <roland@gnu.org>1996-08-02 05:27:50 +0000
commite75154a665018d5756196275634704c95476ea6b (patch)
tree0c8f889a29304e0cc86611c629f1b620d16cf8a7 /sysdeps/stub
parent9ebb936d991a6e08da05e5a942465d64cac39f86 (diff)
downloadglibc-e75154a665018d5756196275634704c95476ea6b.zip
glibc-e75154a665018d5756196275634704c95476ea6b.tar.gz
glibc-e75154a665018d5756196275634704c95476ea6b.tar.bz2
Remade for alpha-1.93cvs/libc-960802
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 4b2c59a..c8f242b 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 5012cf2..26f550d 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 77889b4..bc9b4b5 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 1a9125b..59b6a40 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