<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 14, 2022 at 8:53 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 14.10.22 15:45, Joel Sherrill wrote:<br>
> <br>
> While teaching an RTEMS class this week, I noticed that rtems_build_name <br>
> is in the Classic API Guide index twice. Once with () and once without. <br>
> I started to fix that one case when I noticed that it appears we are <br>
> just very inconsistent.<br>
> <br>
> (rtemsdocs) [joel@localhost c-user]$ grep -r index:: | grep rtems_ | <br>
> grep "()$" | wc -l<br>
> 280<br>
> (rtemsdocs) [joel@localhost c-user]$ grep -r index:: | grep rtems_ | <br>
> grep -v "()$" | wc -l<br>
> 158<br>
> <br>
> There are 280 index entries with () on a method name and 158 without.<br></blockquote><div><br></div><div>FWIW Some of the 158 without could be rtems_ data types. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> <br>
> Which way should it be? :)<br>
<br>
I strongly prefer the () style for functions and macros.<br></blockquote><div><br></div><div>I should have mentioned that I also agree with this approach. </div><div><br></div><div>If we get a third pro-parentheses vote, I'll make a sweep. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax: +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
</blockquote></div></div>