aboutsummaryrefslogtreecommitdiff
path: root/muswd.c
diff options
context:
space:
mode:
Diffstat (limited to 'muswd.c')
-rw-r--r--muswd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/muswd.c b/muswd.c
index b7cbbbd..cf0009e 100644
--- a/muswd.c
+++ b/muswd.c
@@ -169,8 +169,10 @@ fprintstate(int fd)
state.x, state.v);
}
+
+/* Command & Control */
void
-threadctl(void *)
+threadC2(void *)
{
int fd, pfd[2], n, ncmdargs;
char buf[256], *usr, *cmdargs[2];
@@ -243,7 +245,7 @@ threadmain(int argc, char *argv[])
lobby = newlobby();
inittheparty();
- threadcreate(threadctl, nil, 4096);
+ threadcreate(threadC2, nil, 4096);
threadcreate(threadlisten, adir, 4096);
threadcreate(threadsim, nil, 4096);
threadexits(nil);