summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-03-09 02:36:09 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-03-09 02:36:09 +0000
commit3ed41d6aa435fc4b3dd56e6e6e7dd8bba4cd8977 (patch)
treecda5343585fd41bbd873a1a62e826584ec5c95cc /llvm/include/llvm-c
parent2eac48de9e4d0f951925dba8c4c7d2427590e61b (diff)
downloadbcm5719-llvm-3ed41d6aa435fc4b3dd56e6e6e7dd8bba4cd8977.tar.gz
bcm5719-llvm-3ed41d6aa435fc4b3dd56e6e6e7dd8bba4cd8977.zip
void foo() is not a valid C prototype, one has to write void foo(void)
Remove a warning introduced in r262977 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 262990
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/lto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h
index 06456e45859..df27ba8abe1 100644
--- a/llvm/include/llvm-c/lto.h
+++ b/llvm/include/llvm-c/lto.h
@@ -580,7 +580,7 @@ typedef struct {
*
* \since LTO_API_VERSION=18
*/
-extern thinlto_code_gen_t thinlto_create_codegen();
+extern thinlto_code_gen_t thinlto_create_codegen(void);
/**
* Frees the generator and all memory it internally allocated.
OpenPOWER on IntegriCloud