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:
Joel Sherrill
2008-11-24 16:35:36 +00:00
parent ecf1de977f
commit 8d0fdc3ca0
2 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

@@ -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 ) \