now passes on Solaris (-Wall -W -Wno-char-subscripts) too

This commit is contained in:
tg
2005-05-23 15:54:31 +00:00
parent 37d3bd813d
commit 3f570d7cc7
4 changed files with 17 additions and 14 deletions

6
main.c
View File

@ -1,4 +1,4 @@
/** $MirOS: src/bin/mksh/main.c,v 1.3 2005/05/23 15:36:55 tg Exp $ */
/** $MirOS: src/bin/mksh/main.c,v 1.4 2005/05/23 15:54:31 tg Exp $ */
/* $OpenBSD: main.c,v 1.38 2005/03/30 17:16:37 deraadt Exp $ */
/* $OpenBSD: tty.c,v 1.8 2005/03/30 17:16:37 deraadt Exp $ */
/* $OpenBSD: io.c,v 1.21 2005/03/30 17:16:37 deraadt Exp $ */
@ -10,7 +10,7 @@
#include <ctype.h>
#include <pwd.h>
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.3 2005/05/23 15:36:55 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.4 2005/05/23 15:54:31 tg Exp $");
extern char **environ;
@ -18,7 +18,7 @@ static void reclaim(void);
static void remove_temps(struct temp *tp);
static int is_restricted(char *name);
const char ksh_version[] = "@(#)MIRBSD KSH R21";
const char ksh_version[] = "@(#)MIRBSD KSH R21 2005/05/23";
static const char initifs[] = "IFS= \t\n";