aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/ccache/ccapi/stdcc.c
diff options
context:
space:
mode:
authorArjun <pkillarjun@protonmail.com>2024-05-09 20:47:08 +0530
committerGreg Hudson <ghudson@mit.edu>2024-05-22 17:14:53 -0400
commit623d649ba852839ba4822934bad9f97c184bf3ab (patch)
tree077db06826b6bc4800fff815cdcc452d9ec11888 /src/lib/krb5/ccache/ccapi/stdcc.c
parentd035119c3b2b402f3ad49a4c7b6264826ea923bb (diff)
downloadkrb5-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/lib/krb5/ccache/ccapi/stdcc.c')
-rw-r--r--src/lib/krb5/ccache/ccapi/stdcc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c
index 427b329..9cd2ad3 100644
--- a/src/lib/krb5/ccache/ccapi/stdcc.c
+++ b/src/lib/krb5/ccache/ccapi/stdcc.c
@@ -101,7 +101,7 @@ krb5_cc_ops krb5_cc_stdcc_ops = {
* changes made. We register a unique message type with which
* we'll communicate to all other processes.
*/
-static void cache_changed()
+static void cache_changed(void)
{
static unsigned int message = 0;
@@ -112,7 +112,7 @@ static void cache_changed()
}
#else /* _WIN32 */
-static void cache_changed()
+static void cache_changed(void)
{
return;
}
@@ -242,7 +242,7 @@ static krb5_error_code stdccv3_setup (krb5_context context,
}
/* krb5_stdcc_shutdown is exported; use the old name */
-void krb5_stdcc_shutdown()
+void krb5_stdcc_shutdown(void)
{
if (gCntrlBlock) { cc_context_release(gCntrlBlock); }
gCntrlBlock = NULL;