OSDN Git Service

Fix "isn't a prototype" warning
authorVitaly Buka <vitalybuka@google.com>
Wed, 16 Nov 2016 21:51:39 +0000 (21:51 +0000)
committerVitaly Buka <vitalybuka@google.com>
Wed, 16 Nov 2016 21:51:39 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287161 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-c-test/llvm-c-test.h

index 0401f1d..2a70904 100644 (file)
@@ -53,8 +53,8 @@ int llvm_echo(void);
 int llvm_test_diagnostic_handler(void);
 
 // attributes.c
-int llvm_test_function_attributes();
-int llvm_test_callsite_attributes();
+int llvm_test_function_attributes(void);
+int llvm_test_callsite_attributes(void);
 
 #ifdef __cplusplus
 }