summaryrefslogtreecommitdiff
path: root/nuttx/lib
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib')
-rw-r--r--nuttx/lib/lib_init.c5
-rw-r--r--nuttx/lib/lib_internal.h4
2 files changed, 1 insertions, 8 deletions
diff --git a/nuttx/lib/lib_init.c b/nuttx/lib/lib_init.c
index 216f7b780..a8195937f 100644
--- a/nuttx/lib/lib_init.c
+++ b/nuttx/lib/lib_init.c
@@ -71,10 +71,7 @@ static void _lib_semtake(struct streamlist *list)
}
}
-static inline void _lib_semgive(struct streamlist *list)
-{
- sem_post(&list->sl_sem);
-}
+#define _lib_semgive(list) sem_post(&list->sl_sem)
/************************************************************
* Public Functions
diff --git a/nuttx/lib/lib_internal.h b/nuttx/lib/lib_internal.h
index 41d40d428..736aec54f 100644
--- a/nuttx/lib/lib_internal.h
+++ b/nuttx/lib/lib_internal.h
@@ -99,10 +99,6 @@ struct lib_rawstream_s
************************************************************/
/************************************************************
- * Inline Functions
- ************************************************************/
-
-/************************************************************
* Pulblic Function Prototypes
************************************************************/