diff options
| author | kcbanner <kcbanner@gmail.com> | 2022-12-30 02:53:37 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-01-02 13:56:32 -0700 |
| commit | 45a55df12c153d89bddcc083cdd150d2252f23ae (patch) | |
| tree | 441dd7e488b04888b3ae6be99241d678b41f381c | |
| parent | 9c951cc8745256cbf94839b401abbb6afd35cae2 (diff) | |
| download | zig-45a55df12c153d89bddcc083cdd150d2252f23ae.tar.gz zig-45a55df12c153d89bddcc083cdd150d2252f23ae.zip | |
cbe: fixups for -Wstrict-prototypes
| -rw-r--r-- | lib/zig.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2351,7 +2351,7 @@ zig_msvc_atomics_128op(u128, max) #if (_MSC_VER && _M_X64) || defined(__x86_64__) -static inline void* zig_x86_64_windows_teb() { +static inline void* zig_x86_64_windows_teb(void) { #if _MSC_VER return __readgsqword(0x30); #else @@ -2378,7 +2378,7 @@ static inline void zig_x86_cpuid(zig_u32 leaf_id, zig_u32 subid, zig_u32* eax, z *edx = cpu_info[3]; } -static inline zig_u32 zig_x86_get_xcr0() { +static inline zig_u32 zig_x86_get_xcr0(void) { #if _MSC_VER return (zig_u32)_xgetbv(0); #else |
