> On Aug 30, 2019, at 03:08 , Sebastian Huber 
> <sebastian.hu...@embedded-brains.de> wrote:
> 
> [...]
>> +/* forward declarations to avoid warnings */
> 
> Static functions don't need forward declarations to avoid warnings.

... because you should order the definitions properly.  Only if two static 
functions need to reference each other do you need to forward declare one.  
That’s a rare situation.

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering

This email is delivered through the public internet using protocols subject to 
interception and tampering.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to