aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
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
commit0744ac969119db8a0ad3253951d375eb77cfce9e (patch)
treeba6213420ba2c447b9571386b19c8cd8a33d3379 /src/pkg/debug
parent0bb0b61d6a85b2a1a33dcbc418089656f2754d32 (diff)
downloadgo-0744ac969119db8a0ad3253951d375eb77cfce9e.tar.xz
convert to Draft-Proposed ANSI C
R=dmr DELTA=5 (2 added, 0 deleted, 3 changed)
Diffstat (limited to 'src/pkg/debug')
-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 2264d04fbe..8626b30633 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");
}