From e75154a665018d5756196275634704c95476ea6b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 2 Aug 1996 05:27:50 +0000 Subject: Remade for alpha-1.93 --- sysdeps/stub/_exit.c | 8 ++++---- sysdeps/stub/socket.c | 4 ++-- sysdeps/stub/socketpair.c | 4 ++-- sysdeps/stub/stdio_lim.h | 2 -- 4 files changed, 8 insertions(+), 10 deletions(-) (limited to 'sysdeps/stub') 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 -- cgit v1.1