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

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Jun 14 21:11:20 UTC 2008


Author: nekral-guest
Date: 2008-06-14 21:11:19 +0000 (Sat, 14 Jun 2008)
New Revision: 2181

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/lib/prototypes.h
Log:
	* lib/prototypes.h: Add the getrange() prototype.
	* lib/prototypes.h: Fix the valid_field() prototype (does not
	return an bool).
	* lib/prototypes.h: Fix the valid() prototype (it does return a
	bool).


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-06-14 21:09:33 UTC (rev 2180)
+++ upstream/trunk/ChangeLog	2008-06-14 21:11:19 UTC (rev 2181)
@@ -1,5 +1,13 @@
 2008-06-14  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* lib/prototypes.h: Add the getrange() prototype.
+	* lib/prototypes.h: Fix the valid_field() prototype (does not
+	return an bool).
+	* lib/prototypes.h: Fix the valid() prototype (it does return a
+	bool).
+
+2008-06-14  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* lib/getdef.c: Fix the getdef_ulong() prototype.
 	* lib/getdef.h: Fix the getdef_ulong() prototype.
 

Modified: upstream/trunk/lib/prototypes.h
===================================================================
--- upstream/trunk/lib/prototypes.h	2008-06-14 21:09:33 UTC (rev 2180)
+++ upstream/trunk/lib/prototypes.h	2008-06-14 21:11:19 UTC (rev 2181)
@@ -97,7 +97,7 @@
 
 /* fields.c */
 extern void change_field (char *, size_t, const char *);
-extern bool valid_field (const char *, const char *);
+extern int valid_field (const char *, const char *);
 
 /* find_new_ids.c */
 extern int find_new_uid (bool sys_user, uid_t *uid, uid_t const *preferred_uid);
@@ -106,6 +106,11 @@
 /* getlong.c */
 extern int getlong(const char *numstr, long int *result);
 
+/* getrange */
+extern getrange(char *range,
+                unsigned long *min, bool *has_min,
+                unsigned long *max, bool *has_max);
+
 /* fputsx.c */
 extern char *fgetsx (char *, int, FILE *);
 extern int fputsx (const char *, FILE *);
@@ -258,7 +263,7 @@
 extern void setutmp (const char *, const char *, const char *);
 
 /* valid.c */
-extern int valid (const char *, const struct passwd *);
+extern bool valid (const char *, const struct passwd *);
 
 /* xmalloc.c */
 extern char *xmalloc (size_t);




More information about the Pkg-shadow-commits mailing list