about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--include/signal.h2
-rw-r--r--signal/signal.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 40a747b97c..bab50bceb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-02-05  Andreas Jaeger  <aj@suse.de>
 
+	* signal/signal.h: Move __sigaction from here to...
+	* include/signal.h: ...here.
+
 	* io/fcntl.h: Move __fcntl and __open to...
 	* include/fcntl.h: ...here.
 
diff --git a/include/signal.h b/include/signal.h
index 3acc1f0bd7..0f7eb851bf 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -7,6 +7,8 @@
 /* Now define the internal interfaces.  */
 extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler);
 extern int __kill (__pid_t __pid, int __sig);
+extern int __sigaction (int __sig, __const struct sigaction *__restrict __act,
+			struct sigaction *__restrict __oact);
 extern int __sigblock (int __mask);
 extern int __sigsetmask (int __mask);
 extern int __sigprocmask (int __how,
diff --git a/signal/signal.h b/signal/signal.h
index 347bcb9f34..8ec756b3b1 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -240,8 +240,6 @@ extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
 extern int sigsuspend (__const sigset_t *__set) __THROW;
 
 /* Get and/or set the action for signal SIG.  */
-extern int __sigaction (int __sig, __const struct sigaction *__restrict __act,
-			struct sigaction *__restrict __oact) __THROW;
 extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
 		      struct sigaction *__restrict __oact) __THROW;