summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-02 17:25:31 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-02 17:25:31 +0000
commit03f407b297e503533e49e7d9b60ed53689f1cafa (patch)
treed2cf3dc8162eae563196b4716d12e06c50cb64c8 /cpukit/libfs
parent2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-03f407b297e503533e49e7d9b60ed53689f1cafa.tar.bz2
2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems-dev.c: Remove duplicate prototype of rtems_deviceio_errno. Include <rtems/devfs.h> for rtems_deviceio_errno().
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().
*