[Kernel] Remove the restriction of waitqueue

Remove the restriction of RT_USING_POSIX for waitqueue structure.
This commit is contained in:
Bernard Xiong 2018-06-29 12:18:37 +08:00 committed by GitHub
parent 0cac9afc4b
commit 497a2dd02c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -862,7 +862,6 @@ struct rt_device_ops
rt_err_t (*control)(rt_device_t dev, int cmd, void *args);
};
#if defined(RT_USING_POSIX)
/**
* WaitQueue structure
*/
@ -872,7 +871,6 @@ struct rt_wqueue
rt_list_t waiting_list;
};
typedef struct rt_wqueue rt_wqueue_t;
#endif
/**
* Device structure