aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/run.zc
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/run.zc')
-rw-r--r--src/runtime/run.zc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/run.zc b/src/runtime/run.zc
index a8f82e2..19a5234 100644
--- a/src/runtime/run.zc
+++ b/src/runtime/run.zc
@@ -8,9 +8,10 @@ include rt;
//
// cat build/run/rt.zc src/runtime/run.zc examples/hello.zc | ./zc0 >build/run/genome.h
-// the program's entry point, written by the program (see start).
+// the program's entry point, written by the program (see start). the prototype is untyped so
+// that main may be declared int, void or untyped, as in any other program: its value is ignored.
namespace;
-int main();
+fn main();
namespace run;
include rt;