aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
diff options
context:
space:
mode:
authorBrian Kernighan <bwk@research.att.com>1988-04-01 02:03:04 -0500
committerBrian Kernighan <bwk@research.att.com>1988-04-01 02:03:04 -0500
commitd82b11e4a46307f1f1415024f33263e819c222b8 (patch)
tree9466a92069440e78049639bf017f889b51c609bc /src/pkg/debug
parent0744ac969119db8a0ad3253951d375eb77cfce9e (diff)
downloadgo-d82b11e4a46307f1f1415024f33263e819c222b8.tar.xz
last-minute fix: convert to ANSI C
R=dmr DELTA=3 (2 added, 0 deleted, 1 changed)
Diffstat (limited to 'src/pkg/debug')
-rw-r--r--src/pkg/debug/macho/testdata/hello.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/debug/macho/testdata/hello.c b/src/pkg/debug/macho/testdata/hello.c
index 8626b30633..a689d3644e 100644
--- a/src/pkg/debug/macho/testdata/hello.c
+++ b/src/pkg/debug/macho/testdata/hello.c
@@ -1,6 +1,8 @@
#include <stdio.h>
-main()
+int
+main(void)
{
printf("hello, world\n");
+ return 0;
}