about summary refs log tree commit diff
path: root/signal/sigdelset.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal/sigdelset.c')
-rw-r--r--signal/sigdelset.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/signal/sigdelset.c b/signal/sigdelset.c
index 07e880f9c4..0b88a0977b 100644
--- a/signal/sigdelset.c
+++ b/signal/sigdelset.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 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
@@ -20,11 +20,13 @@ Cambridge, MA 02139, USA.  */
 
 /* Add SIGNO to SET.  */
 int
-DEFUN(sigdelset, (set, signo), sigset_t *set AND int signo)
+sigdelset (set, signo)
+     sigset_t *set;
+     int signo;
 {
   if (set == NULL || signo <= 0 || signo >= NSIG)
     {
-      errno = EINVAL;
+      __set_errno (EINVAL);
       return -1;
     }