projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update internal.h to conditionally include asm/string.h
[oweals/busybox.git]
/
chvt.c
diff --git
a/chvt.c
b/chvt.c
index bf1ed609bf005bce75769d1cf8e2c364fc01863a..45a04397a4c39f3a7a091926310b14fdef6ef54a 100644
(file)
--- a/
chvt.c
+++ b/
chvt.c
@@
-12,8
+12,6
@@
#include <stdlib.h>
#include <fcntl.h>
-extern int getfd(void);
-
int chvt_main(int argc, char **argv)
{
int fd, num;
@@
-35,7
+33,7
@@
int chvt_main(int argc, char **argv)
perror("VT_WAITACTIVE");
exit(FALSE);
}
-
exit
(TRUE);
+
return
(TRUE);
}