git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove the includes that obsoleted since last refactoring
[lunaix-os.git]
/
lunaix-os
/
usr
/
init
/
init.c
diff --git
a/lunaix-os/usr/init/init.c
b/lunaix-os/usr/init/init.c
index 25996ce6c03b368b1d5d57d1a66532bc7c89af55..67a73f995835e71442612ce38f7f63fcc721f058 100644
(file)
--- a/
lunaix-os/usr/init/init.c
+++ b/
lunaix-os/usr/init/init.c
@@
-1,11
+1,13
@@
#include <errno.h>
#include <fcntl.h>
#include <errno.h>
#include <fcntl.h>
-#include <
lunaix/lunaix
.h>
-#include <
lunaix
/mount.h>
+#include <
sys/wait
.h>
+#include <
sys
/mount.h>
#include <termios.h>
#include <stdio.h>
#include <unistd.h>
#include <termios.h>
#include <stdio.h>
#include <unistd.h>
+#include <sys/lunaix.h>
+
#define must_mount(src, target, fs, opts) \
do { \
int err = 0; \
#define must_mount(src, target, fs, opts) \
do { \
int err = 0; \
@@
-39,7
+41,7
@@
init_termios(int fd) {
check(tcgetattr(fd, &term));
check(tcgetattr(fd, &term));
- term.c_lflag = ICANON | IEXTEN | ISIG | ECHO | ECHOE
| ECHONL
;
+ term.c_lflag = ICANON | IEXTEN | ISIG | ECHO | ECHOE;
term.c_iflag = ICRNL | IGNBRK;
term.c_oflag = ONLCR | OPOST;
term.c_cflag = CREAD | CLOCAL | CS8 | CPARENB;
term.c_iflag = ICRNL | IGNBRK;
term.c_oflag = ONLCR | OPOST;
term.c_cflag = CREAD | CLOCAL | CS8 | CPARENB;