Changeset 1e3940d in rtems


Ignore:
Timestamp:
May 3, 2009, 11:10:02 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
6aa8b51
Parents:
16bde857
Message:

2009-05-03 Joel Sherrill <joel.sherrill@…>

  • posix/src/condtimedwait.c, posix/src/mutextimedlock.c, posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, posix/src/semopen.c: Silence warnings.
Location:
cpukit
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r16bde857 r1e3940d  
     12009-05-03      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * posix/src/condtimedwait.c, posix/src/mutextimedlock.c,
     4        posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
     5        posix/src/semopen.c: Silence warnings.
     6
    172009-04-29    Sebastian Huber <sebastian.huber@embedded-brains.de>
    28
  • cpukit/posix/src/condtimedwait.c

    r16bde857 r1e3940d  
    6060      break;
    6161    case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:
     62    default:  /* only to silence warnings */
    6263      already_timedout = false;
    6364      break;
  • cpukit/posix/src/mutextimedlock.c

    r16bde857 r1e3940d  
    6565      break;
    6666    case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:
     67    default:  /* only to silence warnings */
    6768      do_wait = true;
    6869      break;
    6970  }
    7071
    71   lock_status = _POSIX_Mutex_Lock_support(
    72     mutex,
    73     do_wait,
    74     ticks
    75   );
    76 
     72  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );
    7773  /*
    7874   *  This service only gives us the option to block.  We used a polling
  • cpukit/posix/src/prwlocktimedrdlock.c

    r16bde857 r1e3940d  
    6767      break;
    6868    case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:
     69    default:  /* only to silence warnings */
    6970      do_wait = true;
    7071      break;
  • cpukit/posix/src/prwlocktimedwrlock.c

    r16bde857 r1e3940d  
    6767      break;
    6868    case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:
     69    default:  /* only to silence warnings */
    6970      do_wait = true;
    7071      break;
  • cpukit/posix/src/semopen.c

    r16bde857 r1e3940d  
    131131    id = &the_semaphore->Semaphore_id;
    132132  #else
    133     id = &the_semaphore->Object.id;
     133    id = (sem_t *)&the_semaphore->Object.id;
    134134  #endif
    135135  return id;
Note: See TracChangeset for help on using the changeset viewer.