summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/lto.h
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2008-05-04 12:55:34 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2008-05-04 12:55:34 +0000
commita735a9c48155f6bc8b065a7b886e05035a458ae2 (patch)
treee4213920dc351e970ce86d0c4e347bbe37980045 /llvm/include/llvm-c/lto.h
parentd9481366e3638717e529c9392b5fa125a02e9b2b (diff)
downloadbcm5719-llvm-a735a9c48155f6bc8b065a7b886e05035a458ae2.tar.gz
bcm5719-llvm-a735a9c48155f6bc8b065a7b886e05035a458ae2.zip
Use (void) instead of () in C code.
llvm-svn: 50620
Diffstat (limited to 'llvm/include/llvm-c/lto.h')
-rw-r--r--llvm/include/llvm-c/lto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h
index e42271dea01..508e871ec4c 100644
--- a/llvm/include/llvm-c/lto.h
+++ b/llvm/include/llvm-c/lto.h
@@ -63,14 +63,14 @@ extern "C" {
* Returns a printable string.
*/
extern const char*
-lto_get_version();
+lto_get_version(void);
/**
* Returns the last error string or NULL if last operation was sucessful.
*/
extern const char*
-lto_get_error_message();
+lto_get_error_message(void);
/**
@@ -160,7 +160,7 @@ lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index);
* Returns NULL on error (check lto_get_error_message() for details).
*/
extern lto_code_gen_t
-lto_codegen_create();
+lto_codegen_create(void);
/**
OpenPOWER on IntegriCloud