summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-02-07 12:54:33 -0500
committerTom Stellard <thomas.stellard@amd.com>2013-02-11 16:16:57 +0000
commit4f884eacb4fb9aa2c115cb8ef4d682290c27e7d5 (patch)
tree4fd47a519c6345913d7b50f8dce8657ca3755525
parent9cd2e28f0dfbd56b598d5920dc6c0ab11a0b1bd6 (diff)
Remove the static keyword from the _CLC_INLINE macro
static functions are not allowed in OpenCL C
-rw-r--r--generic/include/clc/clcfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/include/clc/clcfunc.h b/generic/include/clc/clcfunc.h
index 46067fc..5f166c5 100644
--- a/generic/include/clc/clcfunc.h
+++ b/generic/include/clc/clcfunc.h
@@ -1,4 +1,4 @@
#define _CLC_OVERLOAD __attribute__((overloadable))
#define _CLC_DECL
#define _CLC_DEF __attribute__((always_inline))
-#define _CLC_INLINE __attribute__((always_inline)) static inline
+#define _CLC_INLINE __attribute__((always_inline)) inline