-/* $NetBSD: teach.c,v 1.14 2003/08/07 09:36:58 agc Exp $ */
+/* $NetBSD: teach.c,v 1.17 2005/07/01 01:12:39 jmc Exp $ */
/*
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)teach.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: teach.c,v 1.14 2003/08/07 09:36:58 agc Exp $");
+__RCSID("$NetBSD: teach.c,v 1.17 2005/07/01 01:12:39 jmc Exp $");
#endif
#endif /* not lint */
};
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc __attribute__((__unused__)), char *argv[])
{
int i;
}
void
-leave()
+leave(void)
{
if (tflag)
clear();
else
writec('\n');
fixtty(&old);
- execl(EXEC, "backgammon", "-n", args[0]?args:0, 0);
+ execl(EXEC, "backgammon", "-n", args[0]?args:0, (char *) 0);
writel("Help! Backgammon program is missing\007!!\n");
exit(1);
}