OSDN Git Service

Add in (stub out really) __libc_current_sigrtmin, and
authorEric Andersen <andersen@codepoet.org>
Fri, 15 Jun 2001 19:51:00 +0000 (19:51 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 15 Jun 2001 19:51:00 +0000 (19:51 -0000)
__libc_current_sigrtmax so current versions of ash will
compile.
 -Erik

libc/signal/Makefile
libc/signal/allocrtsig.c [new file with mode: 0644]

index 4e588c7..fe9690c 100644 (file)
@@ -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 (file)
index 0000000..b76be64
--- /dev/null
@@ -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;
+}
+