diff options
author | jmallett <jmallett@FreeBSD.org> | 2003-04-03 05:13:27 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2003-04-03 05:13:27 +0000 |
commit | eba71bcf69b1a44d8ff32c0aa0c0400d682b5dec (patch) | |
tree | ea700d011536a0f7f4ef18463e1769cfb052ce7e /libexec/talkd/talkd.c | |
parent | 5b2b2811a19544037b626ef44e598691b3b2f525 (diff) | |
download | FreeBSD-src-eba71bcf69b1a44d8ff32c0aa0c0400d682b5dec.zip FreeBSD-src-eba71bcf69b1a44d8ff32c0aa0c0400d682b5dec.tar.gz |
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
Diffstat (limited to 'libexec/talkd/talkd.c')
-rw-r--r-- | libexec/talkd/talkd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <sys/types.h> #include <sys/socket.h> #include <sys/param.h> +#include <netinet/in.h> #include <protocols/talkd.h> #include <err.h> #include <errno.h> |