summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/llvm-c-test/debuginfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-c-test/debuginfo.c b/llvm/tools/llvm-c-test/debuginfo.c
index 3f728948e02..c88c74167b6 100644
--- a/llvm/tools/llvm-c-test/debuginfo.c
+++ b/llvm/tools/llvm-c-test/debuginfo.c
@@ -14,7 +14,7 @@
#include "llvm-c/DebugInfo.h"
#include <stdio.h>
-int llvm_test_dibuilder() {
+int llvm_test_dibuilder(void) {
LLVMModuleRef M = LLVMModuleCreateWithName("debuginfo.c");
LLVMDIBuilderRef DIB = LLVMCreateDIBuilder(M);
OpenPOWER on IntegriCloud