diff options
Diffstat (limited to 'libexec/talkd/print.c')
-rw-r--r-- | libexec/talkd/print.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libexec/talkd/print.c b/libexec/talkd/print.c index 8c1ba9b..94b87b4 100644 --- a/libexec/talkd/print.c +++ b/libexec/talkd/print.c @@ -47,6 +47,8 @@ static const char rcsid[] = #include <stdio.h> #include <syslog.h> +#include "extern.h" + static char *types[] = { "leave_invite", "look_up", "delete", "announce" }; #define NTYPES (sizeof (types) / sizeof (types[0])) @@ -56,9 +58,7 @@ static char *answers[] = #define NANSWERS (sizeof (answers) / sizeof (answers[0])) void -print_request(cp, mp) - char *cp; - register CTL_MSG *mp; +print_request(const char *cp, CTL_MSG *mp) { char tbuf[80], *tp; @@ -72,9 +72,7 @@ print_request(cp, mp) } void -print_response(cp, rp) - char *cp; - register CTL_RESPONSE *rp; +print_response(const char *cp, CTL_RESPONSE *rp) { char tbuf[80], *tp, abuf[80], *ap; |