* lib/getdef.c: Fix the getdef_ulong() prototype.
* lib/getdef.h: Fix the getdef_ulong() prototype.
This commit is contained in:
parent
dbbae8dcd3
commit
4ac21ca652
@ -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>
|
2008-06-14 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/lastlog.c: Use getrange to parse the range of users.
|
* src/lastlog.c: Use getrange to parse the range of users.
|
||||||
|
@ -266,7 +266,7 @@ long getdef_long (const char *item, long dflt)
|
|||||||
* values are handled.
|
* 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;
|
struct itemdef *d;
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
extern bool getdef_bool (const char *);
|
extern bool getdef_bool (const char *);
|
||||||
extern long getdef_long (const char *, long);
|
extern long getdef_long (const char *, long);
|
||||||
extern int getdef_num (const char *, int);
|
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 unsigned int getdef_unum (const char *, unsigned int);
|
||||||
extern char *getdef_str (const char *);
|
extern char *getdef_str (const char *);
|
||||||
extern int putdef_str (const char *, const char *);
|
extern int putdef_str (const char *, const char *);
|
||||||
|
Loading…
Reference in New Issue
Block a user