* 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@centraliens.net>
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 *);