[Bug 1541] filesystem macros in libio_.h to be converted to functions

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Sat Jun 5 14:12:02 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1541





--- Comment #5 from Bharath Suri <bharath.s.jois at gmail.com>  2010-06-05 09:12:01 ---
Created an attachment (id=766)
 --> (http://www.rtems.org/bugzilla/attachment.cgi?id=766)
Proposed patch for rtems/cpukit/libcsupport/include/rtems/libio_.h

Proposed patch. Removed the macros from libio_.h and added them as functions
under libcsupport/src/...

I am not really sure about the naming convention, but here is what I have done

Macro rtems_filesystem_is_separator is now a function
rtems_filesystem_is_separator in libcsupport/src/sup_fs_is_separator.c

Macro rtems_filesystem_get_start_loc is now a function
rtems_filesystem_get_start_loc in libcsupport/src/sup_fs_get_start_loc.c

Macro rtems_filesystem_get_sym_start_loc is now a function
rtems_filesystem_get_sym_start_loc in
libcsupport/src/sup_fs_get_sym_start_loc.c

The Makefile.am is also modified to accommodate these changes. But needs a
review.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list