[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] di-set.h, ino-map.h: add multiple-inclusion guard
From: |
Bruno Haible |
Subject: |
Re: [PATCH] di-set.h, ino-map.h: add multiple-inclusion guard |
Date: |
Tue, 8 Feb 2011 22:39:38 +0100 |
User-agent: |
KMail/1.9.9 |
> > I can revert it, then. Or leave it...
> > Do you have a preference?
>
> I'd leave it alone
I'd also leave it alone, for two other reasons:
- Some typedef or struct definition may be added to the file in the future.
- Some people use the gcc option "-Wredundant-decls". It produces a warning
if a header file does not have a multiple-inclusion guard and is included
twice.
Bruno
--
In memoriam Ismail Semed <http://en.wikipedia.org/wiki/Ismail_Semed>