diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 1998-01-14 07:21:14 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 1998-01-14 07:21:14 +0000 |
commit | 20868061ee3c06243e6e4aa990e0a9c4c23b800b (patch) | |
tree | 5450cc754c91d5a5a85e15b552009e408da9aa19 /usr.bin/talk/ctl.c | |
parent | 69036300b207e8104228a78221e1eb5ed7f0afe9 (diff) | |
download | src-test2-20868061ee3c06243e6e4aa990e0a9c4c23b800b.tar.gz src-test2-20868061ee3c06243e6e4aa990e0a9c4c23b800b.zip |
Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) and
add usage().
Notes
Notes:
svn path=/head/; revision=32503
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 2f77608a2b7c..52a986fe011a 100644 --- a/usr.bin/talk/ctl.c +++ b/usr.bin/talk/ctl.c @@ -32,7 +32,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)ctl.c 8.1 (Berkeley) 6/6/93"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ /* @@ -43,10 +47,7 @@ static char sccsid[] = "@(#)ctl.c 8.1 (Berkeley) 6/6/93"; #include <sys/types.h> #include <sys/socket.h> -#include <protocols/talkd.h> -#include <netinet/in.h> #include "talk.h" -#include "talk_ctl.h" struct sockaddr_in daemon_addr = { sizeof(daemon_addr), AF_INET }; struct sockaddr_in ctl_addr = { sizeof(ctl_addr), AF_INET }; |