This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add include guards to bits/sigaction.h


Joseph Myers, on lun. 05 mars 2018 21:43:06 +0000, wrote:
> On Mon, 5 Mar 2018, Samuel Thibault wrote:
> > +#ifndef __struct_sigaction_defined
> > +#define __struct_sigaction_defined 1
> 
> I don't think this is an appropriate guard for a header that defines more 
> than just struct sigaction; I think you should use _BITS_SIGACTION_H in 
> this case.

Ok, thanks!

Samuel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]