summaryrefslogtreecommitdiffstats
path: root/cpukit
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
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')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c6
2 files changed, 7 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index b5883ac8c1..1892cb7652 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,4 +1,10 @@
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().
+
+2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/rbtreeextract.c:
Make _RBTree_Extract_validate_unprotected static.
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().
*