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

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Fri Nov 23 20:11:00 UTC 2007


Author: nekral-guest
Date: 2007-11-23 20:11:00 +0000 (Fri, 23 Nov 2007)
New Revision: 1448

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/lib/prototypes.h
Log:
Added prototype for getlong.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2007-11-23 20:09:57 UTC (rev 1447)
+++ upstream/trunk/ChangeLog	2007-11-23 20:11:00 UTC (rev 1448)
@@ -3,8 +3,8 @@
 	* src/chpasswd.c: Added crypt method: NONE.
 	* src/chpasswd.c: Added --sha-rounds to the usage().
 	* libmisc/Makefile.am, libmisc/getlong.c, src/chgpasswd.c,
-	src/chpasswd.c: New getlong function. Replace chpasswd's and
-	chgpasswd's getnumber.
+	src/chpasswd.c, lib/prototypes.h: New getlong function. Replace
+	chpasswd's and chgpasswd's getnumber.
 
 2007-11-23  Nicolas François  <nicolas.francois at centraliens.net>
 

Modified: upstream/trunk/lib/prototypes.h
===================================================================
--- upstream/trunk/lib/prototypes.h	2007-11-23 20:09:57 UTC (rev 1447)
+++ upstream/trunk/lib/prototypes.h	2007-11-23 20:11:00 UTC (rev 1448)
@@ -70,6 +70,9 @@
 extern void change_field (char *, size_t, const char *);
 extern int valid_field (const char *, const char *);
 
+/* getlong.c */
+extern int getlong(const char *numstr, long int *result);
+
 /* fputsx.c */
 extern char *fgetsx (char *, int, FILE *);
 extern int fputsx (const char *, FILE *);




More information about the Pkg-shadow-commits mailing list