<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-07-03)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-07-03 Joel Sherrill <joel.sherrill@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.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2486&r2=text&tr2=1.2487&diff_format=h">M</a></td><td width='1%'>1.2487</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/include/rtems/libio.h.diff?r1=text&tr1=1.75&r2=text&tr2=1.76&diff_format=h">M</a></td><td width='1%'>1.76</td><td width='100%'>cpukit/libcsupport/include/rtems/libio.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_read.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_read.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_readlink.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_readlink.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>cpukit/libfs/src/rfs/rtems-rfs-rtems.c</td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2010-07-03    Joel Sherrill <joel.sherrill@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.
+
</font> 2010-07-01        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
        * libfs/src/dosfs/msdos_handlers_dir.c,

<font color='#006600'>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
</font><font color='#997700'>@@ -387,7 +387,7 @@
</font>  *  system call support which is provided by a file system<span style="background-color: #FF0000"> </span>
  *  implementation.
  */
<font color='#880000'>-size_t rtems_filesystem_default_read(
</font><font color='#000088'>+ssize_t rtems_filesystem_default_read(
</font>   rtems_libio_t *iop,
   void          *buffer,
   size_t         count
<font color='#997700'>@@ -659,10 +659,10 @@
</font>  *  This type defines the interface to the readlink(2) system call<span style="background-color: #FF0000"> </span>
  *  support which is provided by a file system implementation.
  */<span style="background-color: #FF0000"> </span>
<font color='#880000'>-typedef int (*rtems_filesystem_readlink_t)(
</font><font color='#000088'>+typedef ssize_t (*rtems_filesystem_readlink_t)(
</font>  rtems_filesystem_location_info_t  *loc,     /* IN  */
  char                              *buf,     /* OUT */
<font color='#880000'>- size_t                            bufsize
</font><font color='#000088'>+ size_t                             bufsize
</font> );
 
 /**
<font color='#997700'>@@ -1012,10 +1012,10 @@
</font>  * @brief Provides a defualt routine for filesystem
  * implementation of a readlink command.
  */
<font color='#880000'>-int rtems_filesystem_default_readlink(
</font><font color='#000088'>+ssize_t rtems_filesystem_default_readlink(
</font>  rtems_filesystem_location_info_t  *loc,     /* IN  */
  char                              *buf,     /* OUT */
<font color='#880000'>- size_t                            bufsize
</font><font color='#000088'>+ size_t                             bufsize
</font> );
 
 /**
<font color='#997700'>@@ -1165,16 +1165,16 @@
</font>   int  fd
 );
 
<font color='#880000'>-typedef int (*rtems_libio_read_t)(
</font><font color='#000088'>+typedef ssize_t (*rtems_libio_read_t)(
</font>   int         fd,
   void       *buffer,
<font color='#880000'>-  uint32_t    count
</font><font color='#000088'>+  size_t    count
</font> );
 
<font color='#880000'>-typedef int (*rtems_libio_write_t)(
</font><font color='#000088'>+typedef ssize_t (*rtems_libio_write_t)(
</font>   int         fd,
   const void *buffer,
<font color='#880000'>-  uint32_t    count
</font><font color='#000088'>+  size_t      count
</font> );
 
 typedef int (*rtems_libio_ioctl_t)(

<font color='#006600'>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
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
 #include <rtems/seterr.h>
 
<font color='#880000'>-size_t rtems_filesystem_default_read(
</font><font color='#000088'>+ssize_t rtems_filesystem_default_read(
</font>   rtems_libio_t *iop,
   void          *buffer,
   size_t         count

<font color='#006600'>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
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
 #include <rtems/seterr.h>
 
<font color='#880000'>-int rtems_filesystem_default_readlink(
</font><font color='#000088'>+ssize_t rtems_filesystem_default_readlink(
</font>  rtems_filesystem_location_info_t  *loc,     /* IN  */
  char                              *buf,     /* OUT */
  size_t                            bufsize

<font color='#006600'>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
</font><font color='#997700'>@@ -773,7 +773,7 @@
</font>  * @return int
  */
 
<font color='#880000'>-int
</font><font color='#000088'>+ssize_t
</font> rtems_rfs_rtems_readlink (rtems_filesystem_location_info_t* pathloc,
                           char*                             buf,
                           size_t                            bufsize)
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>