From 297fa24b90bdfdf7129f76d9609f58836b7e2c47 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Mon, 26 May 2008 08:53:56 +0000 Subject: [PATCH] Add protection against multiple inclusions. --- ChangeLog | 4 ++++ lib/groupio.h | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index c0fda5c9..8e5af7a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-05-26 Nicolas François + + * lib/groupio.h: Add protection against multiple inclusions. + 2008-05-26 Nicolas François * lib/pwio.h: Add protection against multiple inclusions. diff --git a/lib/groupio.h b/lib/groupio.h index 9f11d70f..ba708940 100644 --- a/lib/groupio.h +++ b/lib/groupio.h @@ -31,7 +31,12 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* $Id$ */ +#ifndef _GROUPIO_H +#define _GROUPIO_H + #include + extern int gr_close (void); extern const struct group *gr_locate (const char *); extern const struct group *gr_locate_gid (gid_t gid); @@ -45,3 +50,4 @@ extern int gr_unlock (void); extern int gr_update (const struct group *); extern int gr_sort (void); +#endif