From eba71bcf69b1a44d8ff32c0aa0c0400d682b5dec Mon Sep 17 00:00:00 2001 From: jmallett Date: Thu, 3 Apr 2003 05:13:27 +0000 Subject: MFp4 @27667: WARNS=5 cleanup on i386. Remove the unused FILE\ *tf from print_mesg args, and the bogus passing in of an uninitialised FILE* for it. Call a timeval 'now' instead of 'clock' due to shadowing. Remove a nested localtime declaration. Make the delete invite argument match the ID type, u_int32_t. Use const for pointers to const items. Cast to long where printing as such. Include netinet/in.h for htonl/htons. Reviewed by: imp --- libexec/talkd/talkd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libexec/talkd/talkd.c') diff --git a/libexec/talkd/talkd.c b/libexec/talkd/talkd.c index d35c0e3..ae2c6eb 100644 --- a/libexec/talkd/talkd.c +++ b/libexec/talkd/talkd.c @@ -54,6 +54,7 @@ static const char rcsid[] = #include #include #include +#include #include #include #include -- cgit v1.1