openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code
[oweals/busybox.git] / libbb / device_open.c
index c788b698261af83280668d99db6e40154a4b53ce..2b35ad8a3379f24adf8199f301ad01e62f0bf387 100644 (file)
@@ -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)
 {