summaryrefslogtreecommitdiff
path: root/libc/signal
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal')
-rw-r--r--libc/signal/Makefile2
-rw-r--r--libc/signal/allocrtsig.c35
2 files changed, 36 insertions, 1 deletions
diff --git a/libc/signal/Makefile b/libc/signal/Makefile
index 4e588c780..fe9690cca 100644
--- a/libc/signal/Makefile
+++ b/libc/signal/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)Rules.mak
CSRC=bsd_sig.c raise.c sigblock.c siggtmsk.c sigjmp.c signal.c sigintr.c\
sigpause.c sigstmsk.c sigaddset.c sigdelset.c sigismem.c \
- sigemptyset.c sigfillset.c killpg.c
+ sigemptyset.c sigfillset.c killpg.c allocrtsig.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)
diff --git a/libc/signal/allocrtsig.c b/libc/signal/allocrtsig.c
new file mode 100644
index 000000000..b76be6452
--- /dev/null
+++ b/libc/signal/allocrtsig.c
@@ -0,0 +1,35 @@
+/*
+ * Ignore/stub out real-time signal allocation.
+ *
+ * Copyright (C) 2001 by Lineo, inc.
+ * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Library General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+
+#include <signal.h>
+
+int __libc_current_sigrtmin (void)
+{
+ return -1;
+}
+
+int __libc_current_sigrtmax (void)
+{
+ return -1;
+}
+