diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-06-15 19:51:00 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-06-15 19:51:00 +0000 |
commit | e7dc0f213e99f9afcdc724780068c32a175deea6 (patch) | |
tree | 34ac285cdce3f29ba08ad3e28c1c32f730f41be5 /libc/signal | |
parent | ec4e85f8a3471efaf67032d8b7cedc13d40b1446 (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')
-rw-r--r-- | libc/signal/Makefile | 2 | ||||
-rw-r--r-- | libc/signal/allocrtsig.c | 35 |
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; +} + |