diff --git a/ChangeLog b/ChangeLog index a4d4e0d1..28648ed1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-22 Nicolas François + + * lib/prototypes.h: Fix getrange prototype. + 2008-07-21 Seraphim Mellos * README, NEWS, configure.in, lib/pam_defs.h, src/login.c: Add diff --git a/lib/prototypes.h b/lib/prototypes.h index 85b8ed32..f1ffc50a 100644 --- a/lib/prototypes.h +++ b/lib/prototypes.h @@ -109,9 +109,9 @@ extern int find_new_uid (bool sys_user, uid_t *uid, uid_t const *preferred_uid); 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); +extern int getrange(char *range, + unsigned long *min, bool *has_min, + unsigned long *max, bool *has_max); /* fputsx.c */ extern char *fgetsx (char *, int, FILE *);