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:
parent
0ff49c5b44
commit
6b4e4c060a
@ -15,6 +15,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
@ -93,8 +94,6 @@ void log_out (FILE *fp, const char *fmt, ...);
|
|||||||
void log_info (const char *fmt, ...);
|
void log_info (const char *fmt, ...);
|
||||||
void log_error (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 uint32_t uint; // we should rename to u32, sooner or later, for consistency
|
||||||
typedef uint64_t u64;
|
typedef uint64_t u64;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user