Replace typedef for bool with stdbool.h

pull/122/head
Jens Steube 8 years ago
parent 0ff49c5b44
commit 6b4e4c060a

@ -15,6 +15,7 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <errno.h>
#include <getopt.h>
@ -93,8 +94,6 @@ void log_out (FILE *fp, const char *fmt, ...);
void log_info (const char *fmt, ...);
void log_error (const char *fmt, ...);
typedef int bool; // this is ugly but ADL requires the bool datatype
typedef uint32_t uint; // we should rename to u32, sooner or later, for consistency
typedef uint64_t u64;

Loading…
Cancel
Save