From e7dc0f213e99f9afcdc724780068c32a175deea6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 15 Jun 2001 19:51:00 +0000 Subject: Add in (stub out really) __libc_current_sigrtmin, and __libc_current_sigrtmax so current versions of ash will compile. -Erik --- libc/signal/Makefile | 2 +- libc/signal/allocrtsig.c | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 libc/signal/allocrtsig.c 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 , + * + * 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 + +int __libc_current_sigrtmin (void) +{ + return -1; +} + +int __libc_current_sigrtmax (void) +{ + return -1; +} + -- cgit v1.2.3