[Lldb-commits] [lldb] r349573 - [lit] Rather than including stdio.h, forward-declare printf in TestConvenienceVariables.test

Stella Stamenova via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 18 15:36:35 PST 2018


Author: stella.stamenova
Date: Tue Dec 18 15:36:35 2018
New Revision: 349573

URL: http://llvm.org/viewvc/llvm-project?rev=349573&view=rev
Log:
[lit] Rather than including stdio.h, forward-declare printf in TestConvenienceVariables.test

Modified:
    lldb/trunk/lit/Driver/Inputs/hello.c

Modified: lldb/trunk/lit/Driver/Inputs/hello.c
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/Driver/Inputs/hello.c?rev=349573&r1=349572&r2=349573&view=diff
==============================================================================
--- lldb/trunk/lit/Driver/Inputs/hello.c (original)
+++ lldb/trunk/lit/Driver/Inputs/hello.c Tue Dec 18 15:36:35 2018
@@ -1,4 +1,4 @@
-#include <stdio.h>
+int printf(const char *format, ...);
 
 int main(int argc, char **argv) {
   printf("Hello World\n");




More information about the lldb-commits mailing list