diff options
| author | Govind Singh <govinds@codeaurora.org> | 2016-05-18 12:27:37 +0530 |
|---|---|---|
| committer | Vishwajith Upendra <vishwaji@codeaurora.org> | 2016-06-14 14:27:47 -0700 |
| commit | d5a7bcd15594c180737d157aa6fcd008c82c83f3 (patch) | |
| tree | 3d2bebf724c778acb5dcd36ea508fdc110443962 /uapi/linux/osapi_linux.h | |
| parent | db9b86747fdfab5f435d5c1a979510b34408222e (diff) | |
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
Diffstat (limited to 'uapi/linux/osapi_linux.h')
| -rw-r--r-- | uapi/linux/osapi_linux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/uapi/linux/osapi_linux.h b/uapi/linux/osapi_linux.h index a62b96d3f613..221c1a4b0d4f 100644 --- a/uapi/linux/osapi_linux.h +++ b/uapi/linux/osapi_linux.h @@ -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 |
