Move unistd.h includes to individual .c files and remove unnecessary
includes.
This commit is contained in:
parent
815391c360
commit
1f8935fbf1
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "talk.h"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -46,6 +46,7 @@ static const char copyright[] =
|
||||
#endif
|
||||
|
||||
#include <locale.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "talk.h"
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user