Fix prototypes.

llvm-svn: 112200
This commit is contained in:
Devang Patel 2010-08-26 17:47:45 +00:00
parent c162d1bbe4
commit 7b888fbd91
2 changed files with 5 additions and 4 deletions

View File

@ -18,6 +18,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <stddef.h> #include <stddef.h>
#include "llvm/System/DataTypes.h"
#define LTO_API_VERSION 3 #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. * Returns the number of symbols in the object module.
*/ */
extern unsigned int extern uint32_t
lto_module_get_num_symbols(lto_module_t mod); 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. * Returns the name of the ith symbol in the object module.
*/ */
extern const char* 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. * Returns the attributes of the ith symbol in the object module.
*/ */
extern lto_symbol_attributes 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);
/** /**