Changeset 32ba727 in rtems


Ignore:
Timestamp:
01/22/01 13:46:28 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7a55888
Parents:
c2a4084f
Message:

2001-01-22 Michael Hamel <mhamel@…>

  • include/rtems/posix/semaphore.h, inline/rtems/posix/semaphore.inl, src/ptimer1.c, include/rtems/posix/semaphore.h, inline/rtems/posix/semaphore.inl, src/alarm.c, src/ptimer1.c, src/semaphorenametoid.c, src/semopen.c, src/semunlink.c: Modifications to make CodeWarrior? happy.
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/ChangeLog

    rc2a4084f r32ba727  
     12001-01-22      Michael Hamel <mhamel@adi.co.nz>
     2
     3        * include/rtems/posix/semaphore.h, inline/rtems/posix/semaphore.inl,
     4        src/ptimer1.c, include/rtems/posix/semaphore.h,
     5        inline/rtems/posix/semaphore.inl, src/alarm.c, src/ptimer1.c,
     6        src/semaphorenametoid.c, src/semopen.c, src/semunlink.c:
     7        Modifications to make CodeWarrior happy.
     8
    192001-01-12      Joel Sherrill <joel@OARcorp.com>
    210
  • c/src/exec/posix/include/rtems/posix/semaphore.h

    rc2a4084f r32ba727  
    9797 
    9898RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
    99   Objects_Id        *id,
     99  sem_t        *id,
    100100  Objects_Locations *location
    101101);
     
    165165int _POSIX_Semaphore_Name_to_id(
    166166  const char          *name,
    167   Objects_Id          *id
     167  sem_t          *id
    168168);
    169169
  • c/src/exec/posix/inline/rtems/posix/semaphore.inl

    rc2a4084f r32ba727  
    6161 
    6262RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
    63   Objects_Id        *id,
     63  sem_t        *id,
    6464  Objects_Locations *location
    6565)
  • c/src/exec/posix/src/alarm.c

    rc2a4084f r32ba727  
    1414
    1515#include <pthread.h>
    16 #include <errno.h>
     16//#include <errno.h>
    1717
    1818#include <rtems/system.h>
  • c/src/exec/posix/src/ptimer1.c

    rc2a4084f r32ba727  
    544544              break;
    545545
    546            default:
     546           default: break;
    547547
    548548       
     
    625625              break;
    626626           
    627            default:
     627           default: break;
    628628        }
    629629
    630630        break;
    631631
    632       default:
     632      default: break;
    633633
    634634        /* It does nothing, although it will be probably necessary to
  • c/src/exec/posix/src/semaphorenametoid.c

    rc2a4084f r32ba727  
    2727int _POSIX_Semaphore_Name_to_id(
    2828  const char          *name,
    29   Objects_Id          *id
     29  sem_t          *id
    3030)
    3131{
     
    3939
    4040  status = _Objects_Name_to_id(
    41     &_POSIX_Semaphore_Information, (char *)name, 0, id );
     41    &_POSIX_Semaphore_Information, (char *)name, 0, (Objects_Id*)id );
    4242
    4343  if ( status == OBJECTS_SUCCESSFUL )
  • c/src/exec/posix/src/semopen.c

    rc2a4084f r32ba727  
    4242  unsigned int               value = 0;
    4343  int                        status;
    44   Objects_Id                 the_semaphore_id;
     44  sem_t                                 the_semaphore_id;
    4545  POSIX_Semaphore_Control   *the_semaphore;
    4646  Objects_Locations          location;
  • c/src/exec/posix/src/semunlink.c

    rc2a4084f r32ba727  
    3333  int  status;
    3434  register POSIX_Semaphore_Control *the_semaphore;
    35   Objects_Id                        the_semaphore_id;
     35  sem_t                        the_semaphore_id;
    3636 
    3737  _Thread_Disable_dispatch();
  • cpukit/posix/ChangeLog

    rc2a4084f r32ba727  
     12001-01-22      Michael Hamel <mhamel@adi.co.nz>
     2
     3        * include/rtems/posix/semaphore.h, inline/rtems/posix/semaphore.inl,
     4        src/ptimer1.c, include/rtems/posix/semaphore.h,
     5        inline/rtems/posix/semaphore.inl, src/alarm.c, src/ptimer1.c,
     6        src/semaphorenametoid.c, src/semopen.c, src/semunlink.c:
     7        Modifications to make CodeWarrior happy.
     8
    192001-01-12      Joel Sherrill <joel@OARcorp.com>
    210
  • cpukit/posix/include/rtems/posix/semaphore.h

    rc2a4084f r32ba727  
    9797 
    9898RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
    99   Objects_Id        *id,
     99  sem_t        *id,
    100100  Objects_Locations *location
    101101);
     
    165165int _POSIX_Semaphore_Name_to_id(
    166166  const char          *name,
    167   Objects_Id          *id
     167  sem_t          *id
    168168);
    169169
  • cpukit/posix/inline/rtems/posix/semaphore.inl

    rc2a4084f r32ba727  
    6161 
    6262RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
    63   Objects_Id        *id,
     63  sem_t        *id,
    6464  Objects_Locations *location
    6565)
  • cpukit/posix/src/alarm.c

    rc2a4084f r32ba727  
    1414
    1515#include <pthread.h>
    16 #include <errno.h>
     16//#include <errno.h>
    1717
    1818#include <rtems/system.h>
  • cpukit/posix/src/ptimer1.c

    rc2a4084f r32ba727  
    544544              break;
    545545
    546            default:
     546           default: break;
    547547
    548548       
     
    625625              break;
    626626           
    627            default:
     627           default: break;
    628628        }
    629629
    630630        break;
    631631
    632       default:
     632      default: break;
    633633
    634634        /* It does nothing, although it will be probably necessary to
  • cpukit/posix/src/semaphorenametoid.c

    rc2a4084f r32ba727  
    2727int _POSIX_Semaphore_Name_to_id(
    2828  const char          *name,
    29   Objects_Id          *id
     29  sem_t          *id
    3030)
    3131{
     
    3939
    4040  status = _Objects_Name_to_id(
    41     &_POSIX_Semaphore_Information, (char *)name, 0, id );
     41    &_POSIX_Semaphore_Information, (char *)name, 0, (Objects_Id*)id );
    4242
    4343  if ( status == OBJECTS_SUCCESSFUL )
  • cpukit/posix/src/semopen.c

    rc2a4084f r32ba727  
    4242  unsigned int               value = 0;
    4343  int                        status;
    44   Objects_Id                 the_semaphore_id;
     44  sem_t                                 the_semaphore_id;
    4545  POSIX_Semaphore_Control   *the_semaphore;
    4646  Objects_Locations          location;
  • cpukit/posix/src/semunlink.c

    rc2a4084f r32ba727  
    3333  int  status;
    3434  register POSIX_Semaphore_Control *the_semaphore;
    35   Objects_Id                        the_semaphore_id;
     35  sem_t                        the_semaphore_id;
    3636 
    3737  _Thread_Disable_dispatch();
Note: See TracChangeset for help on using the changeset viewer.