bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] sysexits.h


From: James Youngman
Subject: Re: [Bug-gnulib] sysexits.h
Date: Wed, 11 Jun 2003 09:15:12 +0100
User-agent: Mutt/1.3.28i

On Tue, Jun 10, 2003 at 09:50:04PM +0200, Simon Josefsson wrote:

[...]

> #ifndef _SYSEXITS_H
> #define _SYSEXITS_H
[...]
> #endif /* _SYSEXITS_H */

This is something of a minor nit, but names starting with an
underscore and then a capital letter are within the part of the
namespace which ISO C reserves for use by "the implementation" (there
are also other prefixes which have the same restriction).  Since we
are providing a replacement header file, we can be sure that we are
_not_ part of the "implementation" (since provision of sysexits.h by
the implementation would make it unnecessary to use this file).

I believe that this indicates that a more suitable approach would be 


#ifndef INC_SYSEXITS_H
#define INC_SYSEXITS_H 1
[...]
#endif

.... however, I have never observed this to have been a problem in practice.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]