From 770cba7e2b46d3bbd0ce309dbc253f7a4517087a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sat, 24 Jun 2023 18:20:24 +0200 Subject: A few cosmetic fixes (#858) * [DYNAREC] Don't include pthread.h in C files. It's already included from box64context.h. Since there's no pthread.h on Win32, including it only once avoids having to add ifdefs everywhere. * [DYNAREC] Remove some duplicate definitions of the GETG helper macros. * Declare void functions with an explicit void. To avoid 'function declaration is not a prototype' warnings when using -Wstrict-prototypes. * Avoid including bridge_private.h in files that don't need it. * Avoid defining ZYDIS_RUNTIME_ADDRESS_NONE. It's not used, and conflicts with the original Zydis headers. --- src/include/x64run.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/x64run.h') diff --git a/src/include/x64run.h b/src/include/x64run.h index 0e156341..11f07cfa 100755 --- a/src/include/x64run.h +++ b/src/include/x64run.h @@ -11,6 +11,6 @@ int DynaRun(x64emu_t *emu); uint32_t LibSyscall(x64emu_t *emu); void PltResolver(x64emu_t* emu); extern uintptr_t pltResolver; -int GetTID(); +int GetTID(void); #endif //__X64RUN_H_ \ No newline at end of file -- cgit 1.4.1