Date: Fri, 11 Dec 2009 23:23:57 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r200418 - head/usr.bin/talk Message-ID: <200912112323.nBBNNvXB023400@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Fri Dec 11 23:23:57 2009 New Revision: 200418 URL: http://svn.freebsd.org/changeset/base/200418 Log: Move unistd.h includes to individual .c files and remove unnecessary includes. Modified: head/usr.bin/talk/ctl_transact.c head/usr.bin/talk/display.c head/usr.bin/talk/get_addrs.c head/usr.bin/talk/get_iface.c head/usr.bin/talk/get_names.c head/usr.bin/talk/invite.c head/usr.bin/talk/look_up.c head/usr.bin/talk/talk.c head/usr.bin/talk/talk.h Modified: head/usr.bin/talk/ctl_transact.c ============================================================================== --- head/usr.bin/talk/ctl_transact.c Fri Dec 11 23:20:02 2009 (r200417) +++ head/usr.bin/talk/ctl_transact.c Fri Dec 11 23:23:57 2009 (r200418) @@ -42,7 +42,6 @@ static const char sccsid[] = "@(#)ctl_tr #include <arpa/inet.h> #include <errno.h> -#include <string.h> #include "talk.h" #include "talk_ctl.h" Modified: head/usr.bin/talk/display.c ============================================================================== --- head/usr.bin/talk/display.c Fri Dec 11 23:20:02 2009 (r200417) +++ head/usr.bin/talk/display.c Fri Dec 11 23:23:57 2009 (r200418) @@ -44,6 +44,7 @@ static const char sccsid[] = "@(#)displa * displaying of text */ #include <ctype.h> +#include <unistd.h> #include "talk.h" Modified: head/usr.bin/talk/get_addrs.c ============================================================================== --- head/usr.bin/talk/get_addrs.c Fri Dec 11 23:20:02 2009 (r200417) +++ head/usr.bin/talk/get_addrs.c Fri Dec 11 23:23:57 2009 (r200418) @@ -42,6 +42,7 @@ static const char sccsid[] = "@(#)get_ad #include <err.h> #include <netdb.h> #include <string.h> +#include <unistd.h> #include "talk.h" #include "talk_ctl.h" Modified: head/usr.bin/talk/get_iface.c ============================================================================== --- head/usr.bin/talk/get_iface.c Fri Dec 11 23:20:02 2009 (r200417) +++ head/usr.bin/talk/get_iface.c Fri Dec 11 23:23:57 2009 (r200418) @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <errno.h> #include <string.h> +#include <unistd.h> #include "talk.h" Modified: head/usr.bin/talk/get_names.c ============================================================================== --- head/usr.bin/talk/get_names.c Fri Dec 11 23:20:02 2009 (r200417) +++ head/usr.bin/talk/get_names.c Fri Dec 11 23:23:57 2009 (r200418) @@ -45,6 +45,7 @@ static const char sccsid[] = "@(#)get_na #include <pwd.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include "talk.h" Modified: head/usr.bin/talk/invite.c ============================================================================== --- head/usr.bin/talk/invite.c Fri Dec 11 23:20:02 2009 (r200417) +++ head/usr.bin/talk/invite.c Fri Dec 11 23:23:57 2009 (r200418) @@ -47,6 +47,7 @@ static const char sccsid[] = "@(#)invite #include <errno.h> #include <setjmp.h> #include <signal.h> +#include <unistd.h> #include "talk_ctl.h" #include "talk.h" Modified: head/usr.bin/talk/look_up.c ============================================================================== --- head/usr.bin/talk/look_up.c Fri Dec 11 23:20:02 2009 (r200417) +++ head/usr.bin/talk/look_up.c Fri Dec 11 23:23:57 2009 (r200418) @@ -45,6 +45,7 @@ static const char sccsid[] = "@(#)look_u #include <errno.h> #include <string.h> +#include <unistd.h> #include "talk_ctl.h" #include "talk.h" Modified: head/usr.bin/talk/talk.c ============================================================================== --- head/usr.bin/talk/talk.c Fri Dec 11 23:20:02 2009 (r200417) +++ head/usr.bin/talk/talk.c Fri Dec 11 23:23:57 2009 (r200418) @@ -46,6 +46,7 @@ static const char copyright[] = #endif #include <locale.h> +#include <unistd.h> #include "talk.h" Modified: head/usr.bin/talk/talk.h ============================================================================== --- head/usr.bin/talk/talk.h Fri Dec 11 23:20:02 2009 (r200417) +++ head/usr.bin/talk/talk.h Fri Dec 11 23:23:57 2009 (r200418) @@ -42,7 +42,6 @@ #include <arpa/inet.h> #include <protocols/talkd.h> #include <curses.h> -#include <unistd.h> extern int sockt; extern int curses_initialized;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912112323.nBBNNvXB023400>