mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 14:03:40 +00:00
rtl8188eu: Convert typedef for _buffer to unsigned char
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
3e3d47445a
commit
e76fb1a97d
3 changed files with 3 additions and 5 deletions
|
@ -74,8 +74,6 @@
|
|||
spinlock_t lock;
|
||||
};
|
||||
|
||||
typedef unsigned char _buffer;
|
||||
|
||||
typedef struct __queue _queue;
|
||||
typedef struct list_head _list;
|
||||
typedef struct net_device * _nic_hdl;
|
||||
|
|
|
@ -479,9 +479,9 @@ __inline static u8 *recvframe_pull_tail(union recv_frame *precvframe, sint sz)
|
|||
|
||||
|
||||
|
||||
__inline static _buffer * get_rxbuf_desc(union recv_frame *precvframe)
|
||||
__inline static unsigned char *get_rxbuf_desc(union recv_frame *precvframe)
|
||||
{
|
||||
_buffer * buf_desc;
|
||||
unsigned char *buf_desc;
|
||||
|
||||
if (precvframe==NULL)
|
||||
return NULL;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
struct pkt_file {
|
||||
struct sk_buff *pkt;
|
||||
size_t pkt_len; //the remainder length of the open_file
|
||||
_buffer *cur_buffer;
|
||||
unsigned char *cur_buffer;
|
||||
u8 *buf_start;
|
||||
u8 *cur_addr;
|
||||
size_t buf_len;
|
||||
|
|
Loading…
Reference in a new issue