[PATCH] eng: Clarify use of extern "C"

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Jan 23 14:51:31 UTC 2023

On 23.01.23 15:01, Joel Sherrill wrote:
> Following that comment precisely means we should remove them if there 
> are no functions. That ignores data items and the simple maintenance 
> issue of not having an extern C, adding something in the future and 
> forgetting to add extern C.
> IMO it's just part of the header file template we should always use. 
> Deciding when it is absolutely not needed is going to introduce latent 
> issues.
So, you prefer to use the template (including header guards) also for 
files with just comments?

embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:

More information about the devel mailing list