]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - lib/et/com_err.c
Clean up sparse warnings
[thirdparty/e2fsprogs.git] / lib / et / com_err.c
index 4ea52defd59eabe5d3cb585d4847b0ff8eea4715..d38998a2516be997ad96c857891cf2477f51d5e2 100644 (file)
@@ -85,8 +85,7 @@ void com_err (const char *whoami,
     va_end(pvar);
 }
 
-errf set_com_err_hook (new_proc)
-    errf new_proc;
+errf set_com_err_hook(errf new_proc)
 {
     errf x = com_err_hook;
 
@@ -98,7 +97,7 @@ errf set_com_err_hook (new_proc)
     return x;
 }
 
-errf reset_com_err_hook () {
+errf reset_com_err_hook(void) {
     errf x = com_err_hook;
     com_err_hook = default_com_err_proc;
     return x;