diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,6 @@ #include <u.h> #include <libc.h> +#include <thread.h> #include <bio.h> #include <pool.h> @@ -8,10 +9,11 @@ Biobuf *stdin; void -main(int argc, char *argv[]) +threadmain(int argc, char *argv[]) { int off = 0; stdin = Bfdopen(0, OREAD); + initthreads(); initsymtab(); initquadnames(); traceeval = 0; @@ -101,6 +103,7 @@ evalline(Rune *line, Biobuf *bio, int toplevel) free(tmp->toks); free(tmp); } + return nil; } }
\ No newline at end of file |