[Pkg-shadow-commits] r2064 - in upstream/trunk: . lib

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Mon May 26 08:54:00 UTC 2008


Author: nekral-guest
Date: 2008-05-26 08:53:56 +0000 (Mon, 26 May 2008)
New Revision: 2064

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/lib/groupio.h
Log:
Add protection against multiple inclusions.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-05-26 08:52:34 UTC (rev 2063)
+++ upstream/trunk/ChangeLog	2008-05-26 08:53:56 UTC (rev 2064)
@@ -1,5 +1,9 @@
 2008-05-26  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* lib/groupio.h: Add protection against multiple inclusions.
+
+2008-05-26  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* lib/pwio.h: Add protection against multiple inclusions.
 	* lib/pwio.c: The changed, isopen, locked, and readonly fields
 	of the db are booleans.

Modified: upstream/trunk/lib/groupio.h
===================================================================
--- upstream/trunk/lib/groupio.h	2008-05-26 08:52:34 UTC (rev 2063)
+++ upstream/trunk/lib/groupio.h	2008-05-26 08:53:56 UTC (rev 2064)
@@ -31,7 +31,12 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/* $Id$ */
+#ifndef _GROUPIO_H
+#define _GROUPIO_H
+
 #include <grp.h>
+
 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_update (const struct group *);
 extern int gr_sort (void);
 
+#endif




More information about the Pkg-shadow-commits mailing list