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:
parent
512be259a7
commit
3daadfc833
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200418
@ -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