1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-29 11:28:15 +00:00

Replace typedef for bool with stdbool.h

This commit is contained in:
Jens Steube 2016-01-12 18:56:26 +01:00
parent 0ff49c5b44
commit 6b4e4c060a

View File

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