From 623d649ba852839ba4822934bad9f97c184bf3ab Mon Sep 17 00:00:00 2001 From: Arjun Date: Thu, 9 May 2024 20:47:08 +0530 Subject: Fix more non-prototype functions Add "void" designations to more function declarations and definitions not changed by commits 3ae9244cd021a75eba909d872a92c25db490714d and 4b9d7f7c107f01a61600fddcd8cde3812d0366a2. [ghudson@mit.edu: change additional functions; split into two commits; rewrote commit message] --- src/util/profile/prof_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/profile/prof_file.c') diff --git a/src/util/profile/prof_file.c b/src/util/profile/prof_file.c index 5567903..8b0b2bb 100644 --- a/src/util/profile/prof_file.c +++ b/src/util/profile/prof_file.c @@ -545,11 +545,11 @@ void profile_dereference_data_locked(prf_data_t data) profile_free_file_data(data); } -void profile_lock_global() +void profile_lock_global(void) { k5_mutex_lock(&g_shared_trees_mutex); } -void profile_unlock_global() +void profile_unlock_global(void) { k5_mutex_unlock(&g_shared_trees_mutex); } -- cgit v1.1