From 17c631bf0872f8456da057b3c2cce62351966900 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Mon, 10 Dec 2018 09:10:58 -0800 Subject: [PATCH] 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 --- core/mac/inc/sir_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index 7e4c1c54ea40..78ad6cdc8c08 100644 --- a/core/mac/inc/sir_api.h +++ b/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"