mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Working toward compiler independence: Removed inline funcs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@15 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+1
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user