projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code
[oweals/busybox.git]
/
libbb
/
device_open.c
diff --git
a/libbb/device_open.c
b/libbb/device_open.c
index c788b698261af83280668d99db6e40154a4b53ce..2b35ad8a3379f24adf8199f301ad01e62f0bf387 100644
(file)
--- a/
libbb/device_open.c
+++ b/
libbb/device_open.c
@@
-7,11
+7,8
@@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include <stdio.h>
-#include <fcntl.h>
#include "libbb.h"
-
/* try to open up the specified device */
int device_open(const char *device, int mode)
{