* lib/sgroupio.c: Add brackets.
* lib/sgroupio.c: Avoid implicit conversion of pointers / integers to booleans.
* lib/sgroupio.c: The changed, isopen, locked, and readonly fields of the db are booleans.
* lib/sgroupio.h, lib/sgroupio.c: sgr_file_present returns a bool.
* lib/sgroupio.h: Add protection against multiple inclusions.
+2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/sgroupio.c: Avoid assignments in comparisons.
+ * lib/sgroupio.c: Add brackets.
+ * lib/sgroupio.c: Avoid implicit conversion of pointers / integers
+ to booleans.
+ * lib/sgroupio.c: The changed, isopen, locked, and readonly fields
+ of the db are booleans.
+ * lib/sgroupio.h, lib/sgroupio.c: sgr_file_present returns a bool.
+ * lib/sgroupio.h: Add protection against multiple inclusions.
+
2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
* lib/gshadow.c: nis_used and nis_bound are booleans.
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/* $Id$ */
+#ifndef _SGROUPIO_H
+#define _SGROUPIO_H
+
extern int sgr_close (void);
-extern int sgr_file_present (void);
+extern bool sgr_file_present (void);
extern const struct sgrp *sgr_locate (const char *);
extern int sgr_lock (void);
extern int sgr_name (const char *);
extern int sgr_update (const struct sgrp *);
extern int sgr_sort (void);
+#endif