API declaration fix

[ROCm/roctracer commit: 5c5cc0c63f]
このコミットが含まれているのは:
Evgeny committed 2018-06-19 11:22:32 -05:00
1 親 8149ac7044
コミット ed92ee49bc
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -429,7 +429,7 @@ PUBLIC_API roctracer_status_t roctracer_disable_api_callback(
}
// Return default pool and set new one if parameter pool is not NULL.
roctracer_pool_t* roctracer_default_pool(roctracer_pool_t* pool) {
PUBLIC_API roctracer_pool_t* roctracer_default_pool(roctracer_pool_t* pool) {
roctracer_pool_t* p = reinterpret_cast<roctracer_pool_t*>(roctracer::memory_pool);
if (pool != NULL) roctracer::memory_pool = reinterpret_cast<roctracer::MemoryPool*>(pool);
if (p == NULL) EXC_RAISING(ROCTRACER_STATUS_UNINIT, "default pool is not initialized");