From 82ccf5f8f4f39f24958d7fe5be5f9b72401346dc Mon Sep 17 00:00:00 2001 From: kimocoder Date: Thu, 14 Mar 2019 12:08:42 +0100 Subject: [PATCH] Replace typedef _buffer --- include/rtw_recv.h | 6 +++--- include/xmit_osdep.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/rtw_recv.h b/include/rtw_recv.h index 93dd472..2d170f6 100644 --- a/include/rtw_recv.h +++ b/include/rtw_recv.h @@ -778,9 +778,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; @@ -808,7 +808,7 @@ __inline static union recv_frame *pkt_to_recvframe(struct sk_buff *pkt) u8 *buf_star; union recv_frame *precv_frame; #ifdef PLATFORM_WINDOWS - _buffer *buf_desc; + unsigned char *buf_desc; uint len; NdisQueryPacket(pkt, NULL, NULL, &buf_desc, &len); diff --git a/include/xmit_osdep.h b/include/xmit_osdep.h index 35e699f..99b0066 100644 --- a/include/xmit_osdep.h +++ b/include/xmit_osdep.h @@ -19,7 +19,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;