change log for rtems (2010-07-03)
rtems-vc at rtems.org
rtems-vc at rtems.org
Sat Jul 3 20:14:14 UTC 2010
*joel*:
2010-07-03 Joel Sherrill <joel.sherrill at oarcorp.com>
* libcsupport/include/rtems/libio.h, libfs/src/defaults/default_read.c,
libfs/src/defaults/default_readlink.c,
libfs/src/rfs/rtems-rfs-rtems.c: Correct types and prototypes to
eliminate warnings.
M 1.2487 cpukit/ChangeLog
M 1.76 cpukit/libcsupport/include/rtems/libio.h
M 1.3 cpukit/libfs/src/defaults/default_read.c
M 1.3 cpukit/libfs/src/defaults/default_readlink.c
M 1.12 cpukit/libfs/src/rfs/rtems-rfs-rtems.c
diff -u rtems/cpukit/ChangeLog:1.2486 rtems/cpukit/ChangeLog:1.2487
--- rtems/cpukit/ChangeLog:1.2486 Thu Jul 1 15:18:40 2010
+++ rtems/cpukit/ChangeLog Sat Jul 3 14:13:24 2010
@@ -1,3 +1,10 @@
+2010-07-03 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * libcsupport/include/rtems/libio.h, libfs/src/defaults/default_read.c,
+ libfs/src/defaults/default_readlink.c,
+ libfs/src/rfs/rtems-rfs-rtems.c: Correct types and prototypes to
+ eliminate warnings.
+
2010-07-01 Joel Sherrill <joel.sherrilL at OARcorp.com>
* libfs/src/dosfs/msdos_handlers_dir.c,
diff -u rtems/cpukit/libcsupport/include/rtems/libio.h:1.75 rtems/cpukit/libcsupport/include/rtems/libio.h:1.76
--- rtems/cpukit/libcsupport/include/rtems/libio.h:1.75 Thu Jul 1 08:05:18 2010
+++ rtems/cpukit/libcsupport/include/rtems/libio.h Sat Jul 3 14:13:25 2010
@@ -387,7 +387,7 @@
* system call support which is provided by a file system
* implementation.
*/
-size_t rtems_filesystem_default_read(
+ssize_t rtems_filesystem_default_read(
rtems_libio_t *iop,
void *buffer,
size_t count
@@ -659,10 +659,10 @@
* This type defines the interface to the readlink(2) system call
* support which is provided by a file system implementation.
*/
-typedef int (*rtems_filesystem_readlink_t)(
+typedef ssize_t (*rtems_filesystem_readlink_t)(
rtems_filesystem_location_info_t *loc, /* IN */
char *buf, /* OUT */
- size_t bufsize
+ size_t bufsize
);
/**
@@ -1012,10 +1012,10 @@
* @brief Provides a defualt routine for filesystem
* implementation of a readlink command.
*/
-int rtems_filesystem_default_readlink(
+ssize_t rtems_filesystem_default_readlink(
rtems_filesystem_location_info_t *loc, /* IN */
char *buf, /* OUT */
- size_t bufsize
+ size_t bufsize
);
/**
@@ -1165,16 +1165,16 @@
int fd
);
-typedef int (*rtems_libio_read_t)(
+typedef ssize_t (*rtems_libio_read_t)(
int fd,
void *buffer,
- uint32_t count
+ size_t count
);
-typedef int (*rtems_libio_write_t)(
+typedef ssize_t (*rtems_libio_write_t)(
int fd,
const void *buffer,
- uint32_t count
+ size_t count
);
typedef int (*rtems_libio_ioctl_t)(
diff -u rtems/cpukit/libfs/src/defaults/default_read.c:1.2 rtems/cpukit/libfs/src/defaults/default_read.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_read.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_read.c Sat Jul 3 14:13:25 2010
@@ -13,7 +13,7 @@
#include <rtems/libio_.h>
#include <rtems/seterr.h>
-size_t rtems_filesystem_default_read(
+ssize_t rtems_filesystem_default_read(
rtems_libio_t *iop,
void *buffer,
size_t count
diff -u rtems/cpukit/libfs/src/defaults/default_readlink.c:1.2 rtems/cpukit/libfs/src/defaults/default_readlink.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_readlink.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_readlink.c Sat Jul 3 14:13:25 2010
@@ -13,7 +13,7 @@
#include <rtems/libio_.h>
#include <rtems/seterr.h>
-int rtems_filesystem_default_readlink(
+ssize_t rtems_filesystem_default_readlink(
rtems_filesystem_location_info_t *loc, /* IN */
char *buf, /* OUT */
size_t bufsize
diff -u rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c:1.11 rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c:1.12
--- rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c:1.11 Tue Jun 29 14:37:28 2010
+++ rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c Sat Jul 3 14:13:25 2010
@@ -773,7 +773,7 @@
* @return int
*/
-int
+ssize_t
rtems_rfs_rtems_readlink (rtems_filesystem_location_info_t* pathloc,
char* buf,
size_t bufsize)
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100703/0277f9ed/attachment.html>
More information about the vc
mailing list