mirror of
https://github.com/apache/nuttx.git
synced 2026-09-28 03:09:13 +08:00
libs: nxstyle fixes
nxstyle fixes to pass the CI checks Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
committed by
Xiang Xiao
parent
796ef13b20
commit
d6b50a1d3f
@@ -44,8 +44,8 @@
|
||||
*
|
||||
* Description:
|
||||
* Cancel previously queued work. This removes work from the work queue.
|
||||
* After work has been cancelled, it may be re-queue by calling work_queue()
|
||||
* again.
|
||||
* After work has been cancelled, it may be re-queue by calling
|
||||
* work_queue() again.
|
||||
*
|
||||
* Input Parameters:
|
||||
* qid - The work queue ID
|
||||
@@ -60,7 +60,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int work_qcancel(FAR struct usr_wqueue_s *wqueue, FAR struct work_s *work)
|
||||
static int work_qcancel(FAR struct usr_wqueue_s *wqueue,
|
||||
FAR struct work_s *work)
|
||||
{
|
||||
int ret = -ENOENT;
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: work_signal
|
||||
*
|
||||
|
||||
@@ -58,7 +58,9 @@ struct usr_wqueue_s
|
||||
|
||||
extern struct usr_wqueue_s g_usrwork;
|
||||
|
||||
/* This semaphore/mutex supports exclusive access to the user-mode work queue */
|
||||
/* This semaphore/mutex supports exclusive access to the user-mode work
|
||||
* queue
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_BUILD_PROTECTED
|
||||
extern sem_t g_usrsem;
|
||||
|
||||
Reference in New Issue
Block a user