projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ff49c5
)
Replace typedef for bool with stdbool.h
author
Jens Steube
<jens.steube@gmail.com>
Tue, 12 Jan 2016 17:56:26 +0000
(18:56 +0100)
committer
Jens Steube
<jens.steube@gmail.com>
Tue, 12 Jan 2016 17:56:26 +0000
(18:56 +0100)
include/common.h
patch
|
blob
|
history
diff --git
a/include/common.h
b/include/common.h
index
3c4a1cb
..
f9ae5e9
100644
(file)
--- a/
include/common.h
+++ b/
include/common.h
@@
-15,6
+15,7
@@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <string.h>
#include <errno.h>
#include <getopt.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, ...);
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;
typedef uint32_t uint; // we should rename to u32, sooner or later, for consistency
typedef uint64_t u64;