summaryrefslogtreecommitdiff
path: root/testsuites/libtests/deviceio01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/deviceio01/init.c')
-rw-r--r--testsuites/libtests/deviceio01/init.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/testsuites/libtests/deviceio01/init.c b/testsuites/libtests/deviceio01/init.c
index ff6223234f..c27e345be5 100644
--- a/testsuites/libtests/deviceio01/init.c
+++ b/testsuites/libtests/deviceio01/init.c
@@ -13,21 +13,18 @@
#include <tmacros.h>
#include "test_support.h"
-#include <rtems/devfs.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/ioctl.h>
#include <fcntl.h>
#include "test_driver.h"
#include <rtems/devnull.h>
const char rtems_test_name[] = "DEVICEIO 1";
-/* forward declarations to avoid warnings */
-rtems_task Init(rtems_task_argument argument);
-
-rtems_task Init(
+static rtems_task Init(
rtems_task_argument argument
)
{