about summary refs log tree commit diff
path: root/signal/sigempty.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal/sigempty.c')
-rw-r--r--signal/sigempty.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/signal/sigempty.c b/signal/sigempty.c
index 0ec129ded4..5e4bebb27c 100644
--- a/signal/sigempty.c
+++ b/signal/sigempty.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,12 @@ Cambridge, MA 02139, USA.  */
 
 /* Clear all signals from SET.  */
 int
-DEFUN(sigemptyset, (set), sigset_t *set)
+sigemptyset (set)
+     sigset_t *set;
 {
   if (set == NULL)
     {
-      errno = EINVAL;
+      __set_errno (EINVAL);
       return -1;
     }