aboutsummaryrefslogtreecommitdiff
path: root/src/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os.h')
-rw-r--r--src/os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os.h b/src/os.h
index ca376b7..cb78e06 100644
--- a/src/os.h
+++ b/src/os.h
@@ -131,7 +131,7 @@ static inline void os_spancopy(os_char *restrict dest,
* For standard libc functions (implemented by UCRT on Windows), the value of
* errno should be used directly instead.
*/
-int os_lasterror(void);
+int os_lasterror();
/*
* Opens a file for reading. Returns an OS-specific file handle, or -1 on error.