summaryrefslogtreecommitdiff
path: root/lib/et/com_err.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/et/com_err.c')
-rw-r--r--lib/et/com_err.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/et/com_err.c b/lib/et/com_err.c
index 4ea52def..d38998a2 100644
--- a/lib/et/com_err.c
+++ b/lib/et/com_err.c
@@ -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;