* lib/getdef.c: Fix the getdef_ulong() prototype.

* lib/getdef.h: Fix the getdef_ulong() prototype.
This commit is contained in:
nekral-guest 2008-06-14 21:09:33 +00:00
parent dbbae8dcd3
commit 4ac21ca652
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-06-14 Nicolas François <nicolas.francois@centraliens.net>
* lib/getdef.c: Fix the getdef_ulong() prototype.
* lib/getdef.h: Fix the getdef_ulong() prototype.
2008-06-14 Nicolas François <nicolas.francois@centraliens.net>
* src/lastlog.c: Use getrange to parse the range of users.

View File

@ -266,7 +266,7 @@ long getdef_long (const char *item, long dflt)
* values are handled.
*/
unsigned long getdef_ulong (const char *item, unsigned int dflt)
unsigned long getdef_ulong (const char *item, unsigned long dflt)
{
struct itemdef *d;

View File

@ -36,7 +36,7 @@
extern bool getdef_bool (const char *);
extern long getdef_long (const char *, long);
extern int getdef_num (const char *, int);
extern unsigned int getdef_ulong (const char *, unsigned long);
extern unsigned long getdef_ulong (const char *, unsigned long);
extern unsigned int getdef_unum (const char *, unsigned int);
extern char *getdef_str (const char *);
extern int putdef_str (const char *, const char *);