code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarations

This commit is contained in:
2012-09-16 00:26:36 +00:00
parent beac985ab7
commit d724d0adfe
20 changed files with 43 additions and 35 deletions

View File

@@ -183,7 +183,7 @@ static struct PyModuleDef module = {
NULL, NULL, NULL, NULL
};
CCLDeviceInfo *compute_device_list(DeviceType type)
static CCLDeviceInfo *compute_device_list(DeviceType type)
{
/* device list stored static */
static ccl::vector<CCLDeviceInfo> device_list;