about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibpthread.c
diff options
context:
space:
mode:
authorrajdakin <rajdakin@gmail.com>2021-04-12 00:53:14 +0200
committerrajdakin <rajdakin@gmail.com>2021-04-14 13:11:51 +0200
commit48d61351061dcf1ee3148c67d208f20bdf22a3b8 (patch)
tree9859835d868d88cd8e151e0efd8308ac93581190 /src/wrapped/wrappedlibpthread.c
parent0d38b1cd91d4265042396d3d1dbacac2e662ba00 (diff)
downloadbox64-48d61351061dcf1ee3148c67d208f20bdf22a3b8.tar.gz
box64-48d61351061dcf1ee3148c67d208f20bdf22a3b8.zip
First pass
Diffstat (limited to 'src/wrapped/wrappedlibpthread.c')
-rwxr-xr-xsrc/wrapped/wrappedlibpthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibpthread.c b/src/wrapped/wrappedlibpthread.c
index d9b81d5b..d29218ed 100755
--- a/src/wrapped/wrappedlibpthread.c
+++ b/src/wrapped/wrappedlibpthread.c
@@ -61,6 +61,7 @@ const char* libpthreadName = "libpthread.so.0";
 
 EXPORT int32_t my_pthread_atfork(x64emu_t *emu, void* prepare, void* parent, void* child)
 {
+    (void)emu;
     // this is partly incorrect, because the emulated functions should be executed by actual fork and not by my_atfork...
     if(my_context->atfork_sz==my_context->atfork_cap) {
         my_context->atfork_cap += 4;
@@ -82,4 +83,3 @@ EXPORT void my___pthread_initialize()
 }
 
 #include "wrappedlib_init.h"
-