summaryrefslogtreecommitdiffstats
path: root/lldb/lit/Driver/Inputs/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/Driver/Inputs/hello.c')
-rw-r--r--lldb/lit/Driver/Inputs/hello.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/lit/Driver/Inputs/hello.c b/lldb/lit/Driver/Inputs/hello.c
index fb9be9a1267..60d6f7587fd 100644
--- a/lldb/lit/Driver/Inputs/hello.c
+++ b/lldb/lit/Driver/Inputs/hello.c
@@ -1,5 +1,6 @@
-int puts(const char*);
+#include <stdio.h>
+
int main(int argc, char **argv) {
- puts("Hello World\n");
+ printf("Hello World\n");
return 0;
}
OpenPOWER on IntegriCloud