* lib/getdef.h, lib/getdef.c: getdef_bool returns a bool instead
of int. * lib/getdef.c: Change typo of def_loaded to bool. * lib/getdef.c: Add brackets. * lib/getdef.c: Avoid assignment in comparisons.
This commit is contained in:
@ -32,7 +32,7 @@
|
||||
#define _GETDEF_H
|
||||
|
||||
/* getdef.c */
|
||||
extern int getdef_bool (const char *);
|
||||
extern bool getdef_bool (const char *);
|
||||
extern long getdef_long (const char *, long);
|
||||
extern int getdef_num (const char *, int);
|
||||
extern unsigned int getdef_unum (const char *, unsigned int);
|
||||
|
Reference in New Issue
Block a user