diff --git a/.gitignore b/.gitignore index e8432c8..41a96c9 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ a.out *.exp *.lib +build/ +_codeql_build_dir/ +_codeql_detected_source_root diff --git a/src/source/libhoard.cpp b/src/source/libhoard.cpp index 445907f..98f4b58 100644 --- a/src/source/libhoard.cpp +++ b/src/source/libhoard.cpp @@ -97,7 +97,8 @@ extern bool isCustomHeapInitialized(); extern "C" { #if defined(__GNUG__) || defined(__clang__) - void * __attribute__((flatten)) xxmalloc (size_t sz) __attribute__((alloc_size(1))) __attribute__((malloc)) + __attribute__((flatten)) __attribute__((alloc_size(1))) __attribute__((malloc)) + void * xxmalloc (size_t sz) #else void * xxmalloc (size_t sz) #endif