<div dir="auto">Wasn't there Doxygen above it?<div dir="auto"><br></div><div dir="auto">Needs comments</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 20, 2020, 5:16 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It is only used by rtems_partition_create().<br>
---<br>
cpukit/include/rtems/rtems/partimpl.h | 7 -------<br>
cpukit/rtems/src/partcreate.c | 5 +++++<br>
2 files changed, 5 insertions(+), 7 deletions(-)<br>
<br>
diff --git a/cpukit/include/rtems/rtems/partimpl.h b/cpukit/include/rtems/rtems/partimpl.h<br>
index b9d57ae3c3..dcffe757c7 100644<br>
--- a/cpukit/include/rtems/rtems/partimpl.h<br>
+++ b/cpukit/include/rtems/rtems/partimpl.h<br>
@@ -34,13 +34,6 @@ extern "C" {<br>
* @{<br>
*/<br>
<br>
-RTEMS_INLINE_ROUTINE bool _Partition_Is_buffer_area_aligned(<br>
- const void *starting_address<br>
-)<br>
-{<br>
- return (((uintptr_t) starting_address) % CPU_SIZEOF_POINTER) == 0;<br>
-}<br>
-<br>
/**<br>
* @brief Allocates a partition control block from the<br>
* inactive chain of free partition control blocks.<br>
diff --git a/cpukit/rtems/src/partcreate.c b/cpukit/rtems/src/partcreate.c<br>
index 6673ce2c59..da791e2360 100644<br>
--- a/cpukit/rtems/src/partcreate.c<br>
+++ b/cpukit/rtems/src/partcreate.c<br>
@@ -31,6 +31,11 @@ static bool _Partition_Is_buffer_size_aligned( size_t buffer_size )<br>
return ( buffer_size % CPU_SIZEOF_POINTER ) == 0;<br>
}<br>
<br>
+static bool _Partition_Is_buffer_area_aligned( const void *starting_address )<br>
+{<br>
+ return ( ( (uintptr_t) starting_address ) % CPU_SIZEOF_POINTER ) == 0;<br>
+}<br>
+<br>
rtems_status_code rtems_partition_create(<br>
rtems_name name,<br>
void *starting_address,<br>
-- <br>
2.26.2<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>