diff options
author | Arjun <pkillarjun@protonmail.com> | 2024-05-09 20:47:08 +0530 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2024-05-22 17:14:53 -0400 |
commit | 623d649ba852839ba4822934bad9f97c184bf3ab (patch) | |
tree | 077db06826b6bc4800fff815cdcc452d9ec11888 /src/util/et/com_err.c | |
parent | d035119c3b2b402f3ad49a4c7b6264826ea923bb (diff) | |
download | krb5-623d649ba852839ba4822934bad9f97c184bf3ab.zip krb5-623d649ba852839ba4822934bad9f97c184bf3ab.tar.gz krb5-623d649ba852839ba4822934bad9f97c184bf3ab.tar.bz2 |
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]
Diffstat (limited to 'src/util/et/com_err.c')
-rw-r--r-- | src/util/et/com_err.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/et/com_err.c b/src/util/et/com_err.c index c1e3be7..2e74a4f 100644 --- a/src/util/et/com_err.c +++ b/src/util/et/com_err.c @@ -35,7 +35,7 @@ static /*@null@*/ et_old_error_hook_func com_err_hook = 0; k5_mutex_t com_err_hook_lock = K5_MUTEX_PARTIAL_INITIALIZER; #if defined(_WIN32) -BOOL isGuiApp() { +BOOL isGuiApp(void) { DWORD mypid; HANDLE myprocess; mypid = GetCurrentProcessId(); @@ -161,7 +161,7 @@ et_old_error_hook_func set_com_err_hook (et_old_error_hook_func new_proc) return x; } -et_old_error_hook_func reset_com_err_hook () +et_old_error_hook_func reset_com_err_hook (void) { et_old_error_hook_func x; |