diff options
| author | Warner Losh <imp@FreeBSD.org> | 2002-02-05 21:06:56 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2002-02-05 21:06:56 +0000 |
| commit | 0b67b493a9e20a8b409768d7fee894ecfe720c1b (patch) | |
| tree | 9a1dbcebb03dc8719cb20fa539082da1904584e2 /libexec/talkd/print.c | |
| parent | a305896436e52e989792984fd82c0a727ec4da99 (diff) | |
Notes
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 8c1ba9b5e0e1..94b87b48f7f6 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; |
