diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-17 13:32:54 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-17 13:32:54 +0000 |
commit | 596cbc565d69c148384ca146e7f7fcf4ea7de3c8 (patch) | |
tree | 09445150d20a60a73bbcf0fdb01e6cae48c6fad7 /cpukit/posix/src/alarm.c | |
parent | 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-596cbc565d69c148384ca146e7f7fcf4ea7de3c8.tar.bz2 |
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static.
Remove unused var "status".
Diffstat (limited to 'cpukit/posix/src/alarm.c')
-rw-r--r-- | cpukit/posix/src/alarm.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/posix/src/alarm.c b/cpukit/posix/src/alarm.c index 5b1f640799..857ecc9a73 100644 --- a/cpukit/posix/src/alarm.c +++ b/cpukit/posix/src/alarm.c @@ -26,14 +26,12 @@ * _POSIX_signals_Alarm_TSR */ -void _POSIX_signals_Alarm_TSR( +static void _POSIX_signals_Alarm_TSR( Objects_Id id __attribute__((unused)), void *argument __attribute__((unused)) ) { - int status; - - status = kill( getpid(), SIGALRM ); + kill( getpid(), SIGALRM ); /* XXX can't print from an ISR, should this be fatal? */ } |