forked from Imagelibrary/rtems
2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/psignal.h: Fix typo in converting method from macro to static inline.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* posix/include/rtems/posix/psignal.h: Fix typo in converting method
|
||||
from macro to static inline.
|
||||
|
||||
2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* posix/Makefile.am, posix/include/rtems/posix/psignal.h: Add stubs for
|
||||
|
||||
@@ -29,7 +29,7 @@ static inline sigset_t signo_to_mask(
|
||||
uint32_t sig
|
||||
)
|
||||
{
|
||||
return (1 << sig) - 1;
|
||||
return 1 << (sig - 1);
|
||||
}
|
||||
|
||||
#define is_valid_signo( _sig ) \
|
||||
|
||||
Reference in New Issue
Block a user