about summary refs log tree commit diff
path: root/signal/sigaddset.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal/sigaddset.c')
-rw-r--r--signal/sigaddset.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/signal/sigaddset.c b/signal/sigaddset.c
index b9ac34dd5b..69185edca6 100644
--- a/signal/sigaddset.c
+++ b/signal/sigaddset.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(sigaddset, (set, signo), sigset_t *set AND int signo)
+sigaddset (set, signo)
+     sigset_t *set;
+     int signo;
 {
   if (set == NULL || signo <= 0 || signo >= NSIG)
     {
-      errno = EINVAL;
+      __set_errno (EINVAL);
       return -1;
     }