[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclibc
Subject:    sigwait.c build failed
From:       rep.dot.nop () gmail ! com (Bernhard Reutner-Fischer)
Date:       2010-01-16 18:18:29
Message-ID: 20100116181829.GC17782 () mx ! loc
[Download RAW message or body]

On Sat, Jan 09, 2010 at 07:08:54PM -0500, Yoshinori Sato wrote:
>I get follow messages. (in not defined __UCLIBC_HAS_REALTIME__)
>
>  CC libc/signal/sigwait.o
>libc/signal/sigwait.c:40:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'was_sig'
>libc/signal/sigwait.c: In function 'ignore_signal':
>libc/signal/sigwait.c:44:2: error: 'was_sig' undeclared (first use in this function)
>libc/signal/sigwait.c:44:2: error: (Each undeclared identifier is reported only once
>libc/signal/sigwait.c:44:2: error: for each function it appears in.)
>libc/signal/sigwait.c: In function 'sigwait':
>libc/signal/sigwait.c:65:3: error: 'was_sig' undeclared (first use in this function)
>libc/signal/sigwait.c:96:1: warning: control reaches end of non-void function

git am failed for me on your message, fwiw.
Applied, thanks!
>
>Signed-off-by: Yoshinori Sato <ysato at users.sourceforge.jp>
>---
> libc/signal/sigwait.c |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
>diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c
>index 6bca1b1..d0421f3 100644
>--- a/libc/signal/sigwait.c
>+++ b/libc/signal/sigwait.c
>@@ -21,6 +21,7 @@
> #include <errno.h>
> #include <signal.h>
> #include <string.h>
>+#include <unistd.h>
> 
> #if defined __UCLIBC_HAS_REALTIME__
> 
>-- 
>1.6.5.3
>
>-- 
>Yoshinori Sato
><ysato at users.sourceforge.jp>
>_______________________________________________
>uClibc mailing list
>uClibc at uclibc.org
>http://lists.busybox.net/mailman/listinfo/uclibc

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic