Use standard bool types.
I'm using `stdbool.h` for the few remaining C files. That will have to change, soon.
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
|
||||
#include "dlib.h"
|
||||
|
||||
static bool_t dLib_show_msg = TRUE;
|
||||
static bool dLib_show_msg = TRUE;
|
||||
|
||||
/* dlib msgs go to stderr to avoid problems with filter dpis */
|
||||
#define DLIB_MSG(...) \
|
||||
@ -890,7 +890,7 @@ int dParser_parse_rc_line(char **line, char **name, char **value)
|
||||
/*
|
||||
*- Dlib messages -------------------------------------------------------------
|
||||
*/
|
||||
void dLib_show_messages(bool_t show)
|
||||
void dLib_show_messages(bool show)
|
||||
{
|
||||
dLib_show_msg = show;
|
||||
}
|
||||
|
@ -6,6 +6,8 @@
|
||||
#include <stdarg.h> /* for va_list */
|
||||
#include <string.h> /* for strerror */
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "d_size.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -175,7 +177,7 @@ int dParser_parse_rc_line(char **line, char **name, char **value);
|
||||
/*
|
||||
*- Dlib messages -------------------------------------------------------------
|
||||
*/
|
||||
void dLib_show_messages(bool_t show);
|
||||
void dLib_show_messages(bool show);
|
||||
|
||||
/*
|
||||
*- Misc utility functions ----------------------------------------------------
|
||||
|
Reference in New Issue
Block a user