summaryrefslogtreecommitdiff
path: root/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
commit16c1f44d91211a225497062ea508d58fd25085a9 (patch)
treeb681a968d163d326646c8c507c389c89c3b1dea1 /include/llvm-c/lto.h
parent5759f97f50b49aed2f7763133a4af3aa54e24c5a (diff)
downloadllvm-16c1f44d91211a225497062ea508d58fd25085a9.tar.gz
llvm-16c1f44d91211a225497062ea508d58fd25085a9.tar.bz2
llvm-16c1f44d91211a225497062ea508d58fd25085a9.tar.xz
Use (void) instead of () in C code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/lto.h')
-rw-r--r--include/llvm-c/lto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h
index e42271dea0..508e871ec4 100644
--- a/include/llvm-c/lto.h
+++ b/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);
/**