Changeset 596cbc56 in rtems


Ignore:
Timestamp:
Oct 17, 2011, 1:32:54 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
b0f6b6c7
Parents:
e6db507
Message:

2011-10-17 Ralf Corsépius <ralf.corsepius@…>

  • posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static. Remove unused var "status".
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    re6db507 r596cbc56  
    112011-10-17      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static.
     4        Remove unused var "status".
    35        * libmisc/shell/main_ls.c: Comment out unused var kflag.
    46        * posix/src/ualarm.c: Make _POSIX_signals_Ualarm_TSR static.
  • cpukit/posix/src/alarm.c

    re6db507 r596cbc56  
    2727 */
    2828
    29 void _POSIX_signals_Alarm_TSR(
     29static void _POSIX_signals_Alarm_TSR(
    3030  Objects_Id      id __attribute__((unused)),
    3131  void           *argument __attribute__((unused))
    3232)
    3333{
    34   int status;
    35 
    36   status = kill( getpid(), SIGALRM );
     34  kill( getpid(), SIGALRM );
    3735  /* XXX can't print from an ISR, should this be fatal? */
    3836}
Note: See TracChangeset for help on using the changeset viewer.