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

includes.
This commit is contained in:
delphij 2009-12-11 23:23:57 +00:00
parent 815391c360
commit 1f8935fbf1
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;