summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-26 17:47:45 +0000
committerDevang Patel <dpatel@apple.com>2010-08-26 17:47:45 +0000
commit7b888fbd91d7305d552459d81090794b0982c073 (patch)
tree289381e5a607205f323f10af4448a028e33b6a86 /llvm/include/llvm-c
parentc162d1bbe49626669bf964e7974216fa14d222f4 (diff)
downloadbcm5719-llvm-7b888fbd91d7305d552459d81090794b0982c073.tar.gz
bcm5719-llvm-7b888fbd91d7305d552459d81090794b0982c073.zip
Fix prototypes.
llvm-svn: 112200
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/lto.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h
index 95b3d85a72e..e6f69afa2ec 100644
--- a/llvm/include/llvm-c/lto.h
+++ b/llvm/include/llvm-c/lto.h
@@ -18,6 +18,7 @@
#include <stdbool.h>
#include <stddef.h>
+#include "llvm/System/DataTypes.h"
#define LTO_API_VERSION 3
@@ -145,7 +146,7 @@ lto_module_set_target_triple(lto_module_t mod, const char *triple);
/**
* Returns the number of symbols in the object module.
*/
-extern unsigned int
+extern uint32_t
lto_module_get_num_symbols(lto_module_t mod);
@@ -153,14 +154,14 @@ lto_module_get_num_symbols(lto_module_t mod);
* Returns the name of the ith symbol in the object module.
*/
extern const char*
-lto_module_get_symbol_name(lto_module_t mod, unsigned int index);
+lto_module_get_symbol_name(lto_module_t mod, uint32_t index);
/**
* Returns the attributes of the ith symbol in the object module.
*/
extern lto_symbol_attributes
-lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index);
+lto_module_get_symbol_attribute(lto_module_t mod, uint32_t index);
/**
OpenPOWER on IntegriCloud