Re: preferred #include guard idiom?

2021-09-25 Thread craekz7
On Fri, Sep 24, 2021 at 08:16:22PM +0100, ropers wrote: > I'm looking at the #include guards in various .h files in /usr/include. > There seem to be different (comment) idioms present at the bottom of > those files/#include guards. > > > For example: > > ctype.h: > #endif /* !_CTYPE_H_ */ > >

preferred #include guard idiom?

2021-09-24 Thread ropers
I'm looking at the #include guards in various .h files in /usr/include. There seem to be different (comment) idioms present at the bottom of those files/#include guards. For example: ctype.h: #endif /* !_CTYPE_H_ */ float.h: #endif /* _FLOAT_H_ */ err.h: #endif /* !_ERR_H_ */ curses.h: