summaryrefslogtreecommitdiff
path: root/generic/include
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-06-26 18:20:18 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-06-26 18:20:18 +0000
commitb08be4f10886231672844974d8671ddd47276dc7 (patch)
treead7d283a3f6054eff4ad659f46c0806524a257be /generic/include
parent35e27a92509a2acb10a8dab85b969818403dfb46 (diff)
Remove the static keyword from the _CLC_INLINE macro
static functions are not allowed in OpenCL C git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@184986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'generic/include')
-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