Changeset b637dbb in rtems


Ignore:
Timestamp:
Jul 3, 2010, 7:13:25 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
71c012af
Parents:
2da9a31a
Message:

2010-07-03 Joel Sherrill <joel.sherrill@…>

  • 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.
Location:
cpukit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r2da9a31a rb637dbb  
     12010-07-03      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libcsupport/include/rtems/libio.h, libfs/src/defaults/default_read.c,
     4        libfs/src/defaults/default_readlink.c,
     5        libfs/src/rfs/rtems-rfs-rtems.c: Correct types and prototypes to
     6        eliminate warnings.
     7
    182010-07-01      Joel Sherrill <joel.sherrilL@OARcorp.com>
    29
  • cpukit/libcsupport/include/rtems/libio.h

    r2da9a31a rb637dbb  
    388388 *  implementation.
    389389 */
    390 size_t rtems_filesystem_default_read(
     390ssize_t rtems_filesystem_default_read(
    391391  rtems_libio_t *iop,
    392392  void          *buffer,
     
    660660 *  support which is provided by a file system implementation.
    661661 */
    662 typedef int (*rtems_filesystem_readlink_t)(
     662typedef ssize_t (*rtems_filesystem_readlink_t)(
    663663 rtems_filesystem_location_info_t  *loc,     /* IN  */
    664664 char                              *buf,     /* OUT */
    665  size_t                            bufsize
     665 size_t                             bufsize
    666666);
    667667
     
    10131013 * implementation of a readlink command.
    10141014 */
    1015 int rtems_filesystem_default_readlink(
     1015ssize_t rtems_filesystem_default_readlink(
    10161016 rtems_filesystem_location_info_t  *loc,     /* IN  */
    10171017 char                              *buf,     /* OUT */
    1018  size_t                            bufsize
     1018 size_t                             bufsize
    10191019);
    10201020
     
    11661166);
    11671167
    1168 typedef int (*rtems_libio_read_t)(
     1168typedef ssize_t (*rtems_libio_read_t)(
    11691169  int         fd,
    11701170  void       *buffer,
    1171   uint32_t    count
    1172 );
    1173 
    1174 typedef int (*rtems_libio_write_t)(
     1171  size_t    count
     1172);
     1173
     1174typedef ssize_t (*rtems_libio_write_t)(
    11751175  int         fd,
    11761176  const void *buffer,
    1177   uint32_t    count
     1177  size_t      count
    11781178);
    11791179
  • cpukit/libfs/src/defaults/default_read.c

    r2da9a31a rb637dbb  
    1414#include <rtems/seterr.h>
    1515
    16 size_t rtems_filesystem_default_read(
     16ssize_t rtems_filesystem_default_read(
    1717  rtems_libio_t *iop,
    1818  void          *buffer,
  • cpukit/libfs/src/defaults/default_readlink.c

    r2da9a31a rb637dbb  
    1414#include <rtems/seterr.h>
    1515
    16 int rtems_filesystem_default_readlink(
     16ssize_t rtems_filesystem_default_readlink(
    1717 rtems_filesystem_location_info_t  *loc,     /* IN  */
    1818 char                              *buf,     /* OUT */
  • cpukit/libfs/src/rfs/rtems-rfs-rtems.c

    r2da9a31a rb637dbb  
    774774 */
    775775
    776 int
     776ssize_t
    777777rtems_rfs_rtems_readlink (rtems_filesystem_location_info_t* pathloc,
    778778                          char*                             buf,
Note: See TracChangeset for help on using the changeset viewer.