summaryrefslogtreecommitdiff
path: root/libc/signal/allocrtsig.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-15 19:51:00 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-15 19:51:00 +0000
commite7dc0f213e99f9afcdc724780068c32a175deea6 (patch)
tree34ac285cdce3f29ba08ad3e28c1c32f730f41be5 /libc/signal/allocrtsig.c
parentec4e85f8a3471efaf67032d8b7cedc13d40b1446 (diff)
Add in (stub out really) __libc_current_sigrtmin, and
__libc_current_sigrtmax so current versions of ash will compile. -Erik
Diffstat (limited to 'libc/signal/allocrtsig.c')
-rw-r--r--libc/signal/allocrtsig.c35
1 files changed, 35 insertions, 0 deletions
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;
+}
+