Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-01 19:27:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-01 19:27:50 +0400
commit4eb8bceaf82ea30782d7383ed94a0cb6f1b0e257 (patch)
tree78fabd453bc6b315aee3cc1ee2fca2a783332f88 /source/blender/opencl
parent7d1da8b60a5c404a263267477707455bcb7f3c3f (diff)
quiet some warnings.
Diffstat (limited to 'source/blender/opencl')
-rw-r--r--source/blender/opencl/intern/OCL_opencl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/opencl/intern/OCL_opencl.c b/source/blender/opencl/intern/OCL_opencl.c
index fa22acbc1a2..e3130e16bde 100644
--- a/source/blender/opencl/intern/OCL_opencl.c
+++ b/source/blender/opencl/intern/OCL_opencl.c
@@ -22,14 +22,14 @@
#include "OCL_opencl.h"
-void OCL_init()
+void OCL_init(void)
{
#ifdef _WIN32
- const char *path = "OpenCL.dll";
+ const char *path = "OpenCL.dll";
#elif defined(__APPLE__)
- const char *path = "/Library/Frameworks/OpenCL.framework/OpenCL";
+ const char *path = "/Library/Frameworks/OpenCL.framework/OpenCL";
#else
- const char *path = "libOpenCL.so";
+ const char *path = "libOpenCL.so";
#endif
clewInit(path);