summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Kernighan <research!bwk>1988-04-01 02:02:04 -0500
committerBrian Kernighan <research!bwk>1988-04-01 02:02:04 -0500
commit1f4b48e617dcdd089e19320a132ebc3f730d7da0 (patch)
treeba6213420ba2c447b9571386b19c8cd8a33d3379
parent08f7a3c47e2671c6a0ff57b217cb82a5afb8a3c6 (diff)
downloadgolang-1f4b48e617dcdd089e19320a132ebc3f730d7da0.tar.gz
convert to Draft-Proposed ANSI C
R=dmr DELTA=5 (2 added, 0 deleted, 3 changed)
-rw-r--r--src/pkg/debug/macho/testdata/hello.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pkg/debug/macho/testdata/hello.c b/src/pkg/debug/macho/testdata/hello.c
index 2264d04fb..8626b3063 100644
--- a/src/pkg/debug/macho/testdata/hello.c
+++ b/src/pkg/debug/macho/testdata/hello.c
@@ -1,3 +1,6 @@
-main() {
- printf("hello, world");
+#include <stdio.h>
+
+main()
+{
+ printf("hello, world\n");
}