CMake: error out on warnings for strict/missing prototypes.
[openjpeg.git] / src / lib / openjp2 / thread.c
index f2fca2ee4af8e395cab361f053b90c21b30952e5..240810b1c44bf4dac5045c17864542156b3eee87 100644 (file)
@@ -221,7 +221,7 @@ struct opj_thread_t {
     HANDLE hThread;
 };
 
-unsigned int __stdcall opj_thread_callback_adapter(void *info)
+static unsigned int __stdcall opj_thread_callback_adapter(void *info)
 {
     opj_thread_t* thread = (opj_thread_t*) info;
     HANDLE hEvent = NULL;