From d4eced9b84947c205f7280543196dd53211c9291 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Mon, 21 Jul 2008 22:45:49 +0000 Subject: [PATCH] * lib/prototypes.h: Fix getrange prototype. --- ChangeLog | 4 ++++ lib/prototypes.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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 *);