Fix segfault in related to weak-hash-check on CPU devices

Move typedef for bool datatype to common.h
This commit is contained in:
Jens Steube
2016-01-12 17:18:01 +01:00
parent 54ed58e28b
commit 0ff49c5b44
4 changed files with 6 additions and 11 deletions
+2
View File
@@ -93,6 +93,8 @@ 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;
-4
View File
@@ -8,10 +8,6 @@
#include <common.h>
// this is ugly but ADL requires the bool datatype
typedef int bool;
#include <adl_sdk.h>
typedef int HM_ADAPTER_AMD;
-2
View File
@@ -1904,8 +1904,6 @@ void hc_signal (void c (int));
#endif
typedef int bool;
bool class_num (char c);
bool class_lower (char c);
bool class_upper (char c);