Changeset abceda99 in rtems


Ignore:
Timestamp:
Sep 30, 2013, 5:09:12 PM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
0a9533fc
Parents:
ba2e98e (diff), 85c855af (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/sigsuspend.c

    rba2e98e rabceda99  
    3434  sigset_t            saved_signals_blocked;
    3535  sigset_t            current_unblocked_signals;
     36#if defined(RTEMS_DEBUG)
     37    int                 status;
     38#endif
    3639
    3740  /*
     
    4144   *
    4245   *  We ignore the return status codes because sigsuspend() is
    43    *  defined to either terminate or return -1 with errno set to 
     46   *  defined to either terminate or return -1 with errno set to
    4447   *  EINTR.
    4548   */
    46   (void) sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked );
     49#if defined(RTEMS_DEBUG)
     50    status =
     51#else
     52  (void)
     53#endif
     54      sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked );
    4755
    4856  current_unblocked_signals = ~(*sigmask);
    49   (void) sigtimedwait( &current_unblocked_signals, NULL, NULL );
     57
     58  #if defined(RTEMS_DEBUG)
     59    status =
     60#else
     61  (void)
     62#endif
     63      sigtimedwait( &current_unblocked_signals, NULL, NULL );
    5064
    5165  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );
Note: See TracChangeset for help on using the changeset viewer.