From 72d2ec4da4ea788335adf921faebf0ac96d67c93 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 3 Jul 2008 01:37:38 +0000 Subject: 2008-07-03 Chris Johns * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI interface that is supported. * cpukit/libcsupport/Makefile.am, cpukit/libcsupport/preinstall.am: Remove chain.h header references. * cpukit/sapi/include/rtems/chain.h, cpukit/sapi/inline/rtems/chain.inl: New. A supported chains interface. * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to include the new chains interface. * cpukit/libfs/src/imfs/imfs.h, cpukit/libfs/src/imfs/imfs_creat.c, cpukit/libfs/src/imfs/imfs_debug.c, cpukit/libfs/src/imfs/imfs_directory.c, cpukit/libfs/src/imfs/imfs_fsunmount.c, cpukit/libfs/src/imfs/imfs_getchild.c, cpukit/libfs/src/imfs/imfs_load_tar.c, cpukit/libfs/src/imfs/imfs_rmnod.c, cpukit/libfs/src/imfs/memfile.c, cpukit/libfs/src/nfsclient/src/nfs.c, cpukit/libcsupport/include/rtems/libio.h, cpukit/libcsupport/src/malloc_deferred.c, cpukit/libcsupport/src/mount.c, cpukit/libcsupport/src/privateenv.c, cpukit/libcsupport/src/unmount.c: Change to the new chains interface. * cpukit/libcsupport/src/malloc_boundary.c: Remove warning. --- cpukit/libfs/src/imfs/imfs_getchild.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpukit/libfs/src/imfs/imfs_getchild.c') diff --git a/cpukit/libfs/src/imfs/imfs_getchild.c b/cpukit/libfs/src/imfs/imfs_getchild.c index 0c29516dd7..2b47ba2714 100644 --- a/cpukit/libfs/src/imfs/imfs_getchild.c +++ b/cpukit/libfs/src/imfs/imfs_getchild.c @@ -30,9 +30,9 @@ IMFS_jnode_t *IMFS_find_match_in_dir( char *name ) { - Chain_Node *the_node; - Chain_Control *the_chain; - IMFS_jnode_t *the_jnode; + rtems_chain_node *the_node; + rtems_chain_control *the_chain; + IMFS_jnode_t *the_jnode; /* * Check for fatal errors. A NULL directory show a problem in the @@ -60,7 +60,7 @@ IMFS_jnode_t *IMFS_find_match_in_dir( the_chain = &directory->info.directory.Entries; for ( the_node = the_chain->first; - !_Chain_Is_tail( the_chain, the_node ); + !rtems_chain_is_tail( the_chain, the_node ); the_node = the_node->next ) { the_jnode = (IMFS_jnode_t *) the_node; -- cgit v1.2.3