am 38e53ada: am c59b2482: am 5a6f593b: Merge "Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type."

* commit '38e53adaddb474d41d1b6282eec38b71b8447d5d':
  Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type.
This commit is contained in:
Brad Fitzpatrick 2011-03-16 12:35:50 -07:00 committed by Android Git Automerger
commit d0d07712e5
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ sigblock(int mask)
sigset_t the_sigset;
} in, out;
sigemptyset(&in.the_sigset);
in.the_mask = mask;
n = sigprocmask(SIG_BLOCK, &in.the_sigset, &out.the_sigset);

View File

@ -38,6 +38,7 @@ sigsetmask(int mask)
sigset_t the_sigset;
} in, out;
sigemptyset(&in.the_sigset);
in.the_mask = mask;
n = sigprocmask(SIG_SETMASK, &in.the_sigset, &out.the_sigset);