Small tweaks to make things build again.

This commit is contained in:
rsc 2004-02-29 22:42:33 +00:00
parent 91c13e54b5
commit f063dad96e
18 changed files with 43 additions and 48 deletions

View file

@ -2,6 +2,7 @@
#include <libc.h>
#include <fcall.h>
#include <fs.h>
#include <thread.h>
char *addr;
@ -40,7 +41,7 @@ struct {
};
void
main(int argc, char **argv)
threadmain(int argc, char **argv)
{
char *cmd;
int i;
@ -60,7 +61,7 @@ main(int argc, char **argv)
for(i=0; i<nelem(cmds); i++){
if(strcmp(cmds[i].s, cmd) == 0){
cmds[i].f(argc, argv);
exits(0);
threadexitsall(0);
}
}
usage();