Skip to content

Commit 00480b7

Browse files
committed
avoid "function-prototype" compiler warning?
1 parent 93d1e48 commit 00480b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/posixmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8499,7 +8499,7 @@ warn_about_fork_with_threads(
84998499

85008500
// If this returns <= 0, we were unable to successfully use any OS APIs.
85018501
// Returns a positive number of threads otherwise.
8502-
static Py_ssize_t get_number_of_os_threads()
8502+
static Py_ssize_t get_number_of_os_threads(void)
85038503
{
85048504
// TODO: Consider making an `os` module API to return the current number
85058505
// of threads in the process. That'd presumably use this platform code but

0 commit comments

Comments
 (0)