mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 06:43:06 +00:00
rtl8188eu: Replace several local size defines/typedefs with kernel header version
These include the following: SIZE_T => size_t SSIZE_T => ssize_t SIZE_PTR => size_t Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
41ad3e27c6
commit
2685b52404
18 changed files with 58 additions and 63 deletions
|
@ -140,7 +140,7 @@ __inline static _list *get_list_head(_queue *queue)
|
|||
|
||||
|
||||
#define LIST_CONTAINOR(ptr, type, member) \
|
||||
((type *)((char *)(ptr)-(SIZE_T)(&((type *)0)->member)))
|
||||
((type *)((char *)(ptr)-(size_t)(&((type *)0)->member)))
|
||||
|
||||
|
||||
__inline static void _enter_critical(_lock *plock, unsigned long *pirqL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue