aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os/env.c')
-rw-r--r--src/nvim/os/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/env.c b/src/nvim/os/env.c
index 3e66a019b3..3aefbc39d1 100644
--- a/src/nvim/os/env.c
+++ b/src/nvim/os/env.c
@@ -55,7 +55,7 @@ char *os_getenvname_at_index(size_t index)
/// Get the process ID of the Neovim process.
///
/// @return the process ID.
-int64_t os_get_pid()
+int64_t os_get_pid(void)
{
#ifdef _WIN32
return (int64_t)GetCurrentProcessId();