From 05b4f89c6f700475d1a99329cbc4f88d41619288 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbap...@gmail.com>
Date: Wed, 17 Jun 2020 02:03:34 +0530
Subject: [PATCH] windows-thread: set return type of glwthread_thread_exit to 
void

Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com>
---
 lib/windows-thread.c | 2 +-
 lib/windows-thread.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/windows-thread.c b/lib/windows-thread.c
index 5b4edb0..16574e1 100644
--- a/lib/windows-thread.c
+++ b/lib/windows-thread.c
@@ -232,7 +232,7 @@ glwthread_thread_detach (glwthread_thread_t thread)
   return 0;
 }
 
-int
+void
 glwthread_thread_exit (void *retval)
 {
   glwthread_thread_t thread = glwthread_thread_self ();
diff --git a/lib/windows-thread.h b/lib/windows-thread.h
index d026713..9633874 100644
--- a/lib/windows-thread.h
+++ b/lib/windows-thread.h
@@ -46,7 +46,7 @@ extern int glwthread_thread_create (glwthread_thread_t 
*threadp,
 extern int glwthread_thread_join (glwthread_thread_t thread, void **retvalp);
 extern int glwthread_thread_detach (glwthread_thread_t thread);
 extern glwthread_thread_t glwthread_thread_self (void);
-extern int glwthread_thread_exit (void *retval);
+extern void glwthread_thread_exit (void *retval);
 
 #ifdef __cplusplus
 }
-- 
2.27.0

Reply via email to