Skip to content

Commit 10700ff

Browse files
ensure POSIX knows getpid param list is empty
1 parent ebca960 commit 10700ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/logic/syscall.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int fossil_sys_call_execute(const char *command) {
4545
* This function returns the process ID of the calling process.
4646
* The process ID is a unique identifier for the process.
4747
*/
48-
int fossil_sys_call_getpid() {
48+
int fossil_sys_call_getpid(void) {
4949
#ifdef _WIN32
5050
return GetCurrentProcessId(); // On Windows, use the GetCurrentProcessId function to get the process ID.
5151
#else

0 commit comments

Comments
 (0)