[libclc] 41/291: Remove the static keyword from the _CLC_INLINE macro

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit b08be4f10886231672844974d8671ddd47276dc7
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed Jun 26 18:20:18 2013 +0000

    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
---
 generic/include/clc/clcfunc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list