summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-07-11 23:55:01 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-07-11 23:55:01 +0000
commit0da268d13a2c33fd7f7501dc20f389b1ac63ba21 (patch)
tree82ba6dc907d4c23cb8a6cfb110e99e88f046f509 /llvm/include/llvm-c
parent45f8216ceecd8e86f4a4217599f25ca01d947dbc (diff)
downloadbcm5719-llvm-0da268d13a2c33fd7f7501dc20f389b1ac63ba21.tar.gz
bcm5719-llvm-0da268d13a2c33fd7f7501dc20f389b1ac63ba21.zip
Do not use bool in C header lto.h, use lto_bool_t instead
llvm-svn: 275130
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/lto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h
index 655aedcd3d0..b1f5a45d665 100644
--- a/llvm/include/llvm-c/lto.h
+++ b/llvm/include/llvm-c/lto.h
@@ -141,7 +141,8 @@ lto_module_is_object_file_for_target(const char* path,
*
* \since LTO_API_VERSION=20
*/
-bool lto_module_has_objc_category(const void *mem, size_t length);
+extern lto_bool_t
+lto_module_has_objc_category(const void *mem, size_t length);
/**
* Checks if a buffer is a loadable object file.
OpenPOWER on IntegriCloud