diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-02-07 15:26:28 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-02-07 15:26:28 -0800 |
commit | 32749f6cd23f65a2df1bafbf9b69749bdded4b10 (patch) | |
tree | 286f6a962fd5c4b8e539cc59d4f6b2f8b0b1edc2 /include/signal.h | |
parent | d5b396c1c89ed3026fc89bfcdd72b14d59972e45 (diff) | |
download | glibc-32749f6cd23f65a2df1bafbf9b69749bdded4b10.tar.gz glibc-32749f6cd23f65a2df1bafbf9b69749bdded4b10.tar.xz glibc-32749f6cd23f65a2df1bafbf9b69749bdded4b10.zip |
Avoid comma operator warnings.
Diffstat (limited to 'include/signal.h')
-rw-r--r-- | include/signal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h index a019395882..16a7a4289a 100644 --- a/include/signal.h +++ b/include/signal.h @@ -55,7 +55,8 @@ extern int __xpg_sigpause (int sig); /* Simplified sigemptyset() implementation without the parameter checking. */ #undef __sigemptyset -#define __sigemptyset(ss) (__builtin_memset (ss, '\0', sizeof (sigset_t)), 0) +#define __sigemptyset(ss) \ + ({ __builtin_memset (ss, '\0', sizeof (sigset_t)); 0; }) /* Allocate real-time signal with highest/lowest available priority. */ |