Added prototype for getlong.

This commit is contained in:
nekral-guest 2007-11-23 20:11:00 +00:00
parent add1c18b2e
commit acba134aae
2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -70,6 +70,9 @@ extern void sanitize_env (void);
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 *);