[Top][All Lists]
[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.
- Re: [Bug-gnulib] feature request: argp(), (continued)
- Re: [Bug-gnulib] sysexits.h, Bruno Haible, 2003/06/10
- Re: [Bug-gnulib] sysexits.h, Simon Josefsson, 2003/06/10
- Re: [Bug-gnulib] sysexits.h, Bruno Haible, 2003/06/10
- Re: [Bug-gnulib] sysexits.h, Simon Josefsson, 2003/06/10
- Re: [Bug-gnulib] sysexits.h, Bruno Haible, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Simon Josefsson, 2003/06/11
- Re: [Bug-gnulib] sysexits.h,
James Youngman <=
- Re: [Bug-gnulib] sysexits.h, Simon Josefsson, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Bruno Haible, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Simon Josefsson, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Paul Eggert, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Bruno Haible, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Simon Josefsson, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Paul Eggert, 2003/06/11
- Re: [Bug-gnulib] sysexits.h, Bruno Haible, 2003/06/12
- Re: [Bug-gnulib] feature request: argp(), Jim Meyering, 2003/06/10
- Re: [Bug-gnulib] feature request: argp(), Bruno Haible, 2003/06/10