summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/macros/rtems/posix/cond.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-02-02 00:06:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-02-02 00:06:18 +0000
commitce92867bea9b027af4119c694aa6b72a043b4fea (patch)
treea62823bc40a5de3dfbf10476af491cb7c51ec50d /cpukit/posix/macros/rtems/posix/cond.inl
parentWant only two serial ports for now. (diff)
downloadrtems-ce92867bea9b027af4119c694aa6b72a043b4fea.tar.bz2
2005-02-01 Joel Sherrill <joel@OARcorp.com>
* libblock/include/rtems/bdbuf.h, libblock/include/rtems/ide_part_table.h, libblock/src/blkdev.c, libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios.c, posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/mutex.inl : Remove warnings.
Diffstat (limited to 'cpukit/posix/macros/rtems/posix/cond.inl')
-rw-r--r--cpukit/posix/macros/rtems/posix/cond.inl5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/posix/macros/rtems/posix/cond.inl b/cpukit/posix/macros/rtems/posix/cond.inl
index 5cec198e23..8dd08f23d4 100644
--- a/cpukit/posix/macros/rtems/posix/cond.inl
+++ b/cpukit/posix/macros/rtems/posix/cond.inl
@@ -76,7 +76,10 @@
} while (0)
-static POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
+/* If we find a compiler that doesn't accept static inline functions,
+ * then this will have to move to a .c file. Until then, we will use this.
+ */
+static inline POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
Objects_Id *id,
Objects_Locations *location
)