summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/thread.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2023-03-09 19:20:58 +0100
committerSebastian Rasmussen <sebras@gmail.com>2023-03-09 20:09:27 +0100
commiteb8a7e44279415fdefda6d980b99bd7e00c41da0 (patch)
treeeb807e6704df2b72424ef5d4f56211855c281e38 /src/lib/openjp2/thread.c
parent1a8d13e2c51cc59507b361a9c0d1cf51201f7d02 (diff)
CMake: error out on warnings for strict/missing prototypes.
And fix strict-prototypes/missing-prototypes warnings.
Diffstat (limited to 'src/lib/openjp2/thread.c')
-rw-r--r--src/lib/openjp2/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/thread.c b/src/lib/openjp2/thread.c
index f2fca2ee..240810b1 100644
--- a/src/lib/openjp2/thread.c
+++ b/src/lib/openjp2/thread.c
@@ -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;