qcacld-3.0: Add INLINE macro definition in os API header

FW common files needs to be in sync with host and fw.
Latest version of FW interface file uses INLINE macro and
INLINE macro definition is not exposed by fw interface files
as it has different definition of INLINE for different
toolchains/compilers. Abstract INLINE macro definition in
os API header file.

Change-Id: I431b12ce7f880e2f0e8db244f230c64f59e12e42
CRs-Fixed: 1012542
This commit is contained in:
Govind Singh
2016-05-18 12:27:37 +05:30
committed by Vishwajith Upendra
parent db9b86747f
commit d5a7bcd155

View File

@@ -240,6 +240,9 @@ void a_netbuf_queue_init(A_NETBUF_QUEUE_T *q);
#ifndef inline
#define inline __inline__
#endif
#ifndef INLINE
#define INLINE __inline__
#endif
#else /* Not GCC */
#define __ATTRIB_PACK
#define __ATTRIB_PRINTF
@@ -247,6 +250,9 @@ void a_netbuf_queue_init(A_NETBUF_QUEUE_T *q);
#ifndef inline
#define inline __inline
#endif
#ifndef INLINE
#define INLINE __inline
#endif
#endif /* End __GNUC__ */
#define PREPACK