summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c
index 8e60113f23..04d4d7ee68 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c
@@ -23,13 +23,9 @@
#include "config.h"
#endif
+#include <rtems/devfs.h>
#include "rtems-rfs-rtems.h"
-/*
- * Convert RTEMS status to a UNIX errno
- */
-extern int rtems_deviceio_errno (rtems_status_code code);
-
/**
* This handler maps an open() operation onto rtems_io_open().
*