From 9c3fa30a11cf03041d05210a2ffbdaa9001999d4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 28 Sep 2000 20:19:23 +0000 Subject: 2000-09-28 Joel Sherrill * libc/libio.h (rtems_filesystem_file_handlers_r, rtems_filesystem_operations_table): Added _h to all structure fields to indicate they are "handlers". * libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c, libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c, libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c, libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c, libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c: Modified to reflect above name change. --- cpukit/libcsupport/src/unlink.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpukit/libcsupport/src/unlink.c') diff --git a/cpukit/libcsupport/src/unlink.c b/cpukit/libcsupport/src/unlink.c index cf11db227c..e9eadd9453 100644 --- a/cpukit/libcsupport/src/unlink.c +++ b/cpukit/libcsupport/src/unlink.c @@ -30,22 +30,22 @@ int unlink( if ( result != 0 ) return -1; - if ( !loc.ops->node_type ) { + if ( !loc.ops->node_type_h ) { rtems_filesystem_freenode( &loc ); set_errno_and_return_minus_one( ENOTSUP ); } - if ( (*loc.ops->node_type)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) { + if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) { rtems_filesystem_freenode( &loc ); set_errno_and_return_minus_one( EISDIR ); } - if ( !loc.ops->unlink ) { + if ( !loc.ops->unlink_h ) { rtems_filesystem_freenode( &loc ); set_errno_and_return_minus_one( ENOTSUP ); } - result = (*loc.ops->unlink)( &loc ); + result = (*loc.ops->unlink_h)( &loc ); rtems_filesystem_freenode( &loc ); -- cgit v1.2.3