diff options
| author | Alexandre Julliard <julliard@winehq.org> | 2023-06-24 18:20:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-24 18:20:24 +0200 |
| commit | 770cba7e2b46d3bbd0ce309dbc253f7a4517087a (patch) | |
| tree | b32abe8503710fba68ef11964f1226e9ac4bb96f /src/include/fileutils.h | |
| parent | 8aa98d3f53600ce978a2a4a41d51f394ef312fd8 (diff) | |
| download | box64-770cba7e2b46d3bbd0ce309dbc253f7a4517087a.tar.gz box64-770cba7e2b46d3bbd0ce309dbc253f7a4517087a.zip | |
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.
Diffstat (limited to 'src/include/fileutils.h')
| -rwxr-xr-x | src/include/fileutils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/fileutils.h b/src/include/fileutils.h index c666f0be..2e983c74 100755 --- a/src/include/fileutils.h +++ b/src/include/fileutils.h @@ -19,13 +19,13 @@ int FileIsX64ELF(const char* filename); int FileIsShell(const char* filename); // return temp folder (will return /tmp if nothing is correct) -const char* GetTmpDir(); +const char* GetTmpDir(void); // will lower case the string and return a copy. Nothing fancy here, just A..Z transformed to a..z, rest is untouched char* LowerCase(const char* s); #if defined(RPI) || defined(RK3399) || defined(RK3326) -void sanitize_mojosetup_gtk_background(); +void sanitize_mojosetup_gtk_background(void); #endif #endif //__FILEUTILS_H_ \ No newline at end of file |