From 596cbc565d69c148384ca146e7f7fcf4ea7de3c8 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 17 Oct 2011 13:32:54 +0000 Subject: =?UTF-8?q?2011-10-17=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static. Remove unused var "status". --- cpukit/posix/src/alarm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cpukit/posix/src/alarm.c') 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? */ } -- cgit v1.2.3