[rtems commit] libdl: Add a comment.

Chris Johns chrisj at rtems.org
Wed Nov 19 21:43:39 UTC 2014


Module:    rtems
Branch:    master
Commit:    4f1bbbfcdf991470e46456324c5be57cedf7390c
Changeset: http://git.rtems.org/rtems/commit/?id=4f1bbbfcdf991470e46456324c5be57cedf7390c

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Nov 20 08:43:15 2014 +1100

libdl: Add a comment.

See ref #2191.

---

 cpukit/libdl/rtl-allocator.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cpukit/libdl/rtl-allocator.c b/cpukit/libdl/rtl-allocator.c
index ced19d0..d5cc443 100644
--- a/cpukit/libdl/rtl-allocator.c
+++ b/cpukit/libdl/rtl-allocator.c
@@ -52,6 +52,9 @@ rtems_rtl_alloc_new (rtems_rtl_alloc_tag_t tag, size_t size, bool zero)
   rtems_rtl_data_t* rtl = rtems_rtl_lock ();
   void*             address = NULL;
 
+  /*
+   * Obtain memory from the allocator.
+   */
   if (rtl)
     rtl->allocator.allocator (true, tag, &address, size);
 




More information about the vc mailing list