Skip to content

Commit aaac16b

Browse files
committed
Remove #include workarounds; no binary change.
1 parent 478412e commit aaac16b

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

usr.bin/vi/common/exf.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@
1515
#include <sys/queue.h>
1616
#include <sys/stat.h>
1717

18-
/*
19-
* We include <sys/file.h>, because the flock(2) and open(2) #defines
20-
* were found there on historical systems. We also include <fcntl.h>
21-
* because the open(2) #defines are found there on newer systems.
22-
*/
23-
#include <sys/file.h>
24-
2518
#include <dirent.h>
2619
#include <errno.h>
2720
#include <fcntl.h>

usr.bin/vi/common/recover.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@
1515
#include <sys/queue.h>
1616
#include <sys/stat.h>
1717

18-
/*
19-
* We include <sys/file.h>, because the open #defines were found there
20-
* on historical systems. We also include <fcntl.h> because the open(2)
21-
* #defines are found there on newer systems.
22-
*/
23-
#include <sys/file.h>
24-
2518
#include <dirent.h>
2619
#include <errno.h>
2720
#include <fcntl.h>

usr.bin/vi/ex/ex_script.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323

2424
#include <errno.h>
2525
#include <fcntl.h>
26-
#include <stdio.h> /* XXX: OSF/1 bug: include before <grp.h> */
2726
#include <grp.h>
2827
#include <limits.h>
2928
#include <poll.h>
29+
#include <stdio.h>
3030
#include <stdlib.h>
3131
#include <string.h>
3232
#include <termios.h>

0 commit comments

Comments
 (0)