summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/libio_.h
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2010-06-22 20:03:41 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2010-06-22 20:03:41 +0000
commite525f66b09e11427852da956424c71d784d828c6 (patch)
treeb134de04d80b384828099df538537db8b1845876 /cpukit/libcsupport/include/rtems/libio_.h
parent2010-06-22 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-e525f66b09e11427852da956424c71d784d828c6.tar.bz2
2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/libio_.h: Moved method to free a node from a define to an external method. * libcsupport/src/freenode.c: New file.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libio_.h')
-rw-r--r--cpukit/libcsupport/include/rtems/libio_.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h
index a6c7860672..6abc1ee5e0 100644
--- a/cpukit/libcsupport/include/rtems/libio_.h
+++ b/cpukit/libcsupport/include/rtems/libio_.h
@@ -148,13 +148,7 @@ extern rtems_libio_t *rtems_libio_iop_freelist;
* Macro to free a node.
*/
-#define rtems_filesystem_freenode( _node ) \
- do { \
- if ( (_node)->ops )\
- if ( (_node)->ops->freenod_h ) \
- (*(_node)->ops->freenod_h)( (_node) ); \
- } while (0)
-
+void rtems_filesystem_freenode( rtems_filesystem_location_info_t* node );
/*
* External structures