Ticket #805: pr805.diff

File pr805.diff, 964 bytes (added by nuno-costa, on 12/03/06 at 13:31:13)

pr805.diff

  • cpukit/posix/include/rtems/posix/timer.h

    RCS file: /usr1/CVS/rtems/cpukit/posix/include/rtems/posix/timer.h,v
    retrieving revision 1.5
    diff -u -r1.5 timer.h
     
    2222/* Nanoseconds in a second               */
    2323#define NSEC_PER_SEC_C (unsigned32)1000000000
    2424
    25 #define NO_MORE_TIMERS_C      11 /* There is not available timers          */
    26 #define BAD_TIMER_C           11 /* The timer does not exist in the table  */
     25#define NO_MORE_TIMERS_C      -1 /* There is not available timers          */
     26#define BAD_TIMER_C           -2 /* The timer does not exist in the table  */
    2727
    2828#define SECONDS_PER_YEAR_C    (unsigned32)(360 * 24) * (unsigned32)(60 * 60)
    2929#define SECONDS_PER_MONTH_C   (unsigned32)( 30 * 24) * (unsigned32)(60 * 60)