> On Aug 30, 2019, at 03:08 , Sebastian Huber 
> <[email protected]> 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
[email protected]
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to