diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-09 14:01:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-09 14:04:41 +0300 |
commit | 2330cadb0fbdc31b2eed415996e376a830c1e1b9 (patch) | |
tree | 42c05456702847b37e7c4ab009de2fb8a49ebeee /intern/cycles/device/device_intern.h | |
parent | c86d4b1d804eb9284eee1c796080196e7a48b3f8 (diff) |
Cycles: Cleanup, don't use strict C prototypes
Those are more like a legacy of language, which is not
needed in C++.
Diffstat (limited to 'intern/cycles/device/device_intern.h')
-rw-r--r-- | intern/cycles/device/device_intern.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/intern/cycles/device/device_intern.h b/intern/cycles/device/device_intern.h index d5a96c2b82b..e6495c2bff3 100644 --- a/intern/cycles/device/device_intern.h +++ b/intern/cycles/device/device_intern.h @@ -22,9 +22,9 @@ CCL_NAMESPACE_BEGIN class Device; Device *device_cpu_create(DeviceInfo& info, Stats &stats, bool background); -bool device_opencl_init(void); +bool device_opencl_init(); Device *device_opencl_create(DeviceInfo& info, Stats &stats, bool background); -bool device_cuda_init(void); +bool device_cuda_init(); Device *device_cuda_create(DeviceInfo& info, Stats &stats, bool background); Device *device_network_create(DeviceInfo& info, Stats &stats, const char *address); Device *device_multi_create(DeviceInfo& info, Stats &stats, bool background); @@ -34,9 +34,9 @@ void device_opencl_info(vector<DeviceInfo>& devices); void device_cuda_info(vector<DeviceInfo>& devices); void device_network_info(vector<DeviceInfo>& devices); -string device_cpu_capabilities(void); -string device_opencl_capabilities(void); -string device_cuda_capabilities(void); +string device_cpu_capabilities(); +string device_opencl_capabilities(); +string device_cuda_capabilities(); CCL_NAMESPACE_END |