(Plus, it now compiles with clang, which seems to be buggy since it wont compile a function that is "inline" but not "static").
@@ -20,8 +20,7 @@
#include <CL/cl.h>
-inline
-void
+static inline void
checkErr(cl_int err, const char * name) {
if (err != CL_SUCCESS) {
fprintf(stderr, "ERROR: %s (%d)\n", name, err);