summaryrefslogtreecommitdiff
path: root/include
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
commit3b18241fca9ba214ff02dcd653362fb6a4187ddc (patch)
tree23248987f7410245d0d13796ec1f19f2dd354e8a /include
parente5d9c7f0c45ea411643ef95abbbdb1ace54d3de7 (diff)
Do not use bool in C header lto.h, use lto_bool_t instead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/lto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h
index 655aedcd3d0..b1f5a45d665 100644
--- a/include/llvm-c/lto.h
+++ b/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.