aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/sigpause.c14
-rw-r--r--sysdeps/generic/sigstack.c4
2 files changed, 12 insertions, 6 deletions
diff --git a/sysdeps/generic/sigpause.c b/sysdeps/generic/sigpause.c
index 25dfff1ea5..5a1badcdbe 100644
--- a/sysdeps/generic/sigpause.c
+++ b/sysdeps/generic/sigpause.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 2000 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
@@ -30,10 +30,8 @@ __sigpause (sig_or_mask, is_sig)
stub_warning (__sigpause)
-int __default_sigpause __P ((int mask));
int
-__default_sigpause (mask)
- int mask;
+__default_sigpause (int mask)
{
__set_errno (ENOSYS);
return -1;
@@ -41,3 +39,11 @@ __default_sigpause (mask)
weak_alias (__default_sigpause, sigpause)
stub_warning (sigpause)
#include <stub-tag.h>
+
+
+int
+__xpg_sigpause (int sig)
+{
+ __set_errno (ENOSYS);
+ return -1;
+}
diff --git a/sysdeps/generic/sigstack.c b/sysdeps/generic/sigstack.c
index 52b135a19f..b4e2748a4c 100644
--- a/sysdeps/generic/sigstack.c
+++ b/sysdeps/generic/sigstack.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2000 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,7 +23,7 @@
If OSS is not NULL, it is filled in with the old signal stack status. */
int
sigstack (ss, oss)
- const struct sigstack *ss;
+ struct sigstack *ss;
struct sigstack *oss;
{
__set_errno (ENOSYS);