diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-04-15 13:50:27 +0800 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2010-04-21 03:29:27 +0200 |
commit | d7305bdf4c51c218368b72623636594d17cbef93 (patch) | |
tree | f8b369d768034be3c584af740fb6a298b88e350c | |
parent | 4fb18548dd55d68432105fd3c79a284242a3e73b (diff) | |
download | klibc-d7305bdf4c51c218368b72623636594d17cbef93.tar.gz |
[klibc] [JOBS] Fix for job control off warning
There seems to be a problem with the new version of dash
with job control off. I can't tell if it is just a warning or is a
manifest bug.
usr/dash/trap.c: In function `exitshell':
usr/dash/trap.c:376: warning: suggest braces around empty body in an `if' statement
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r-- | usr/dash/jobs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/dash/jobs.h b/usr/dash/jobs.h index 26e421d7fd67b..9c095eae31e2d 100644 --- a/usr/dash/jobs.h +++ b/usr/dash/jobs.h @@ -105,5 +105,5 @@ int waitforjob(struct job *); int stoppedjobs(void); #if ! JOBS -#define setjobctl(on) /* do nothing */ +#define setjobctl(on) ((void)(on)) /* do nothing */ #endif |