diff --git a/c/src/exec/posix/include/rtems/posix/semaphore.h b/c/src/exec/posix/include/rtems/posix/semaphore.h index af80893db4..8df9e4e258 100644 --- a/c/src/exec/posix/include/rtems/posix/semaphore.h +++ b/c/src/exec/posix/include/rtems/posix/semaphore.h @@ -128,6 +128,18 @@ int _POSIX_Semaphore_Create_support( POSIX_Semaphore_Control **the_sem ); +/* + * _POSIX_Semaphore_Delete + * + * DESCRIPTION: + * + * This routine supports the sem_close and sem_unlink routines. + */ + +void _POSIX_Semaphore_Delete( + POSIX_Semaphore_Control *the_semaphore +); + /* * _POSIX_Semaphore_Wait_support * diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h index af80893db4..8df9e4e258 100644 --- a/cpukit/posix/include/rtems/posix/semaphore.h +++ b/cpukit/posix/include/rtems/posix/semaphore.h @@ -128,6 +128,18 @@ int _POSIX_Semaphore_Create_support( POSIX_Semaphore_Control **the_sem ); +/* + * _POSIX_Semaphore_Delete + * + * DESCRIPTION: + * + * This routine supports the sem_close and sem_unlink routines. + */ + +void _POSIX_Semaphore_Delete( + POSIX_Semaphore_Control *the_semaphore +); + /* * _POSIX_Semaphore_Wait_support *