* 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:
nekral-guest
2008-05-25 21:43:05 +00:00
parent 66afec21d1
commit 712ed48a62
3 changed files with 63 additions and 30 deletions

View File

@ -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);