summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-16 17:34:51 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-16 19:09:26 +0200
commit7a7f0719d903a51c911d0d3b62f3ca322f379f5c (patch)
tree8099e5ddbea4516b17bdbda668b135974e6dfc52 /cpukit/posix
parentrtems: Delete unused functions (diff)
downloadrtems-7a7f0719d903a51c911d0d3b62f3ca322f379f5c.tar.bz2
posix: Delete unused functions
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/include/rtems/posix/semaphore.h12
-rw-r--r--cpukit/posix/inline/rtems/posix/semaphore.inl11
2 files changed, 0 insertions, 23 deletions
diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h
index 3127c3f9aa..92be580c0f 100644
--- a/cpukit/posix/include/rtems/posix/semaphore.h
+++ b/cpukit/posix/include/rtems/posix/semaphore.h
@@ -118,18 +118,6 @@ RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
);
/*
- * _POSIX_Semaphore_Is_null
- *
- * DESCRIPTION:
- *
- * This function returns TRUE if the_semaphore is NULL and FALSE otherwise.
- */
-
-RTEMS_INLINE_ROUTINE bool _POSIX_Semaphore_Is_null (
- POSIX_Semaphore_Control *the_semaphore
-);
-
-/*
* _POSIX_Semaphore_Create_support
*
* DESCRIPTION:
diff --git a/cpukit/posix/inline/rtems/posix/semaphore.inl b/cpukit/posix/inline/rtems/posix/semaphore.inl
index 8c7d6700a9..49c5e1badf 100644
--- a/cpukit/posix/inline/rtems/posix/semaphore.inl
+++ b/cpukit/posix/inline/rtems/posix/semaphore.inl
@@ -69,17 +69,6 @@ RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
return (POSIX_Semaphore_Control *)
_Objects_Get( &_POSIX_Semaphore_Information, (Objects_Id)*id, location );
}
-
-/*
- * _POSIX_Semaphore_Is_null
- */
-
-RTEMS_INLINE_ROUTINE bool _POSIX_Semaphore_Is_null (
- POSIX_Semaphore_Control *the_semaphore
-)
-{
- return !the_semaphore;
-}
/**
* @see _POSIX_Name_to_id().