]> Cypherpunks repositories - gostls13.git/commitdiff
last-minute fix: convert to ANSI C
authorBrian Kernighan <bwk@research.att.com>
Fri, 1 Apr 1988 07:03:04 +0000 (02:03 -0500)
committerBrian Kernighan <bwk@research.att.com>
Fri, 1 Apr 1988 07:03:04 +0000 (02:03 -0500)
R=dmr
DELTA=3  (2 added, 0 deleted, 1 changed)

src/pkg/debug/macho/testdata/hello.c

index 8626b30633267902e7924eaadd2c959e08082d7e..a689d3644e1e95d9d9cb1f013be6430d90dab71c 100644 (file)
@@ -1,6 +1,8 @@
 #include <stdio.h>
 
-main()
+int
+main(void)
 {
        printf("hello, world\n");
+       return 0;
 }