1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00

Move unistd.h includes to individual .c files and remove unnecessary

includes.
This commit is contained in:
Xin LI 2009-12-11 23:23:57 +00:00
parent 512be259a7
commit 3daadfc833
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200418
9 changed files with 7 additions and 2 deletions

View File

@ -42,7 +42,6 @@ static const char sccsid[] = "@(#)ctl_transact.c 8.1 (Berkeley) 6/6/93";
#include <arpa/inet.h>
#include <errno.h>
#include <string.h>
#include "talk.h"
#include "talk_ctl.h"

View File

@ -44,6 +44,7 @@ static const char sccsid[] = "@(#)display.c 8.1 (Berkeley) 6/6/93";
* displaying of text
*/
#include <ctype.h>
#include <unistd.h>
#include "talk.h"

View File

@ -42,6 +42,7 @@ static const char sccsid[] = "@(#)get_addrs.c 8.1 (Berkeley) 6/6/93";
#include <err.h>
#include <netdb.h>
#include <string.h>
#include <unistd.h>
#include "talk.h"
#include "talk_ctl.h"

View File

@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include "talk.h"

View File

@ -45,6 +45,7 @@ static const char sccsid[] = "@(#)get_names.c 8.1 (Berkeley) 6/6/93";
#include <pwd.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "talk.h"

View File

@ -47,6 +47,7 @@ static const char sccsid[] = "@(#)invite.c 8.1 (Berkeley) 6/6/93";
#include <errno.h>
#include <setjmp.h>
#include <signal.h>
#include <unistd.h>
#include "talk_ctl.h"
#include "talk.h"

View File

@ -45,6 +45,7 @@ static const char sccsid[] = "@(#)look_up.c 8.1 (Berkeley) 6/6/93";
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include "talk_ctl.h"
#include "talk.h"

View File

@ -46,6 +46,7 @@ static const char copyright[] =
#endif
#include <locale.h>
#include <unistd.h>
#include "talk.h"

View File

@ -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;