소스 검색

qcacld-3.0: Change tpAniSirGlobal definition

A recent set of changes replaced almost all occurrences of typedef
tpAniSirGlobal. The only ones left intact were the ones within the
auto-generated files dot11f.c and dot11f.h. Now to prevent new
instances from being introduced, change the definition.

Change-Id: I31924e45242320fee5d8432b624bb9ba00bf7531
CRs-Fixed: 2364097
Jeff Johnson 6 년 전
부모
커밋
17c631bf08
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      core/mac/inc/sir_api.h

+ 2 - 1
core/mac/inc/sir_api.h

@@ -30,8 +30,9 @@
 #define __SIR_API_H
 
 /* legacy definition */
-typedef struct mac_context *tpAniSirGlobal;
+typedef void *tpAniSirGlobal;
 
+struct mac_context;
 #include "qdf_types.h"
 #include "cds_regdomain.h"
 #include "sir_types.h"