diff options
author | mestre <mestre@cvs.openbsd.org> | 2016-02-01 07:29:26 +0000 |
---|---|---|
committer | mestre <mestre@cvs.openbsd.org> | 2016-02-01 07:29:26 +0000 |
commit | 4a943cbdc379e9bf9c12f0ddfa7d625be99a8feb (patch) | |
tree | 96e5a9910da361e3177ab052cb228c235b0f9900 /usr.bin/talk/ctl.c | |
parent | a14c7584d7ff1b587f6535df1933a5add8b08993 (diff) |
Remove unused headers and sort the remaining
Remove lint-style comments
Swap hardcoded string on usage() for __progname
OK tb@
Diffstat (limited to 'usr.bin/talk/ctl.c')
-rw-r--r-- | usr.bin/talk/ctl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/talk/ctl.c b/usr.bin/talk/ctl.c index ff106a01604..e81d4bdeecf 100644 --- a/usr.bin/talk/ctl.c +++ b/usr.bin/talk/ctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ctl.c,v 1.12 2010/08/12 23:31:29 tedu Exp $ */ +/* $OpenBSD: ctl.c,v 1.13 2016/02/01 07:29:25 mestre Exp $ */ /* $NetBSD: ctl.c,v 1.3 1994/12/09 02:14:10 jtc Exp $ */ /* @@ -36,9 +36,10 @@ * the progress */ -#include "talk.h" +#include <sys/socket.h> #include <arpa/inet.h> -#include "talk_ctl.h" + +#include "talk.h" struct sockaddr_in daemon_addr = { sizeof(daemon_addr), AF_INET }; struct sockaddr_in ctl_addr = { sizeof(ctl_addr), AF_INET }; |