summaryrefslogtreecommitdiffstats
path: root/c/src/lib/include
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>1999-10-29 15:19:13 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>1999-10-29 15:19:13 +0000
commit4a07d2b866a2104102215cbd196269dcce18c000 (patch)
tree2a84022d24a4688bbeb8ef469a9983abc0bd6a7d /c/src/lib/include
parent4bde80720f95e5f817dedd95de8b46f19c3cb744 (diff)
downloadrtems-4a07d2b866a2104102215cbd196269dcce18c000.tar.bz2
Moved the rmnod callback from the operations table to the handler table.
Diffstat (limited to 'c/src/lib/include')
-rw-r--r--c/src/lib/include/rtems/libio.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/include/rtems/libio.h b/c/src/lib/include/rtems/libio.h
index c4e54c4132..5d71866164 100644
--- a/c/src/lib/include/rtems/libio.h
+++ b/c/src/lib/include/rtems/libio.h
@@ -121,6 +121,10 @@ typedef int (*rtems_filesystem_fcntl_t)(
rtems_libio_t *iop
);
+typedef int (*rtems_filesystem_rmnod_t)(
+ rtems_filesystem_location_info_t *pathloc /* IN */
+);
+
typedef struct {
rtems_filesystem_open_t open;
rtems_filesystem_close_t close;
@@ -135,6 +139,7 @@ typedef struct {
rtems_filesystem_fsync_t fsync;
rtems_filesystem_fdatasync_t fdatasync;
rtems_filesystem_fcntl_t fcntl;
+ rtems_filesystem_rmnod_t rmnod;
} rtems_filesystem_file_handlers_r;
/*
@@ -193,10 +198,6 @@ typedef int (*rtems_filesystem_freenode_t)(
rtems_filesystem_location_info_t *pathloc /* IN */
);
-typedef int (*rtems_filesystem_rmnod_t)(
- rtems_filesystem_location_info_t *pathloc /* IN */
-);
-
typedef int (* rtems_filesystem_mount_t ) (
rtems_filesystem_mount_table_entry_t *mt_entry /* in */
);
@@ -254,7 +255,6 @@ typedef struct {
rtems_filesystem_unlink_t unlink;
rtems_filesystem_node_type_t node_type;
rtems_filesystem_mknod_t mknod;
- rtems_filesystem_rmnod_t rmnod;
rtems_filesystem_chown_t chown;
rtems_filesystem_freenode_t freenod;
rtems_filesystem_mount_t mount;