2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>

* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_readlink.c: readlink
	filesystem entry should return ssize_t.
This commit is contained in:
Joel Sherrill
2011-01-04 19:18:09 +00:00
parent 8633e8f084
commit a84d456ce2
3 changed files with 10 additions and 5 deletions

View File

@@ -525,7 +525,7 @@ extern int IMFS_symlink(
const char *node_name
);
extern int IMFS_readlink(
extern ssize_t IMFS_readlink(
rtems_filesystem_location_info_t *loc, /* IN */
char *buf, /* OUT */
size_t bufsize

View File

@@ -23,14 +23,14 @@
#include <rtems/libio_.h>
#include <rtems/seterr.h>
int IMFS_readlink(
ssize_t IMFS_readlink(
rtems_filesystem_location_info_t *loc,
char *buf, /* OUT */
size_t bufsize
char *buf, /* OUT */
size_t bufsize
)
{
IMFS_jnode_t *node;
int i;
ssize_t i;
node = loc->node_access;