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"); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits