compile warning-free on SUNpro (regression test suite pass) for MirBSD

This commit is contained in:
tg
2007-06-04 21:33:28 +00:00
parent 6e1bfd6e4b
commit 1e93f97b8c
4 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.53 2007/05/13 18:49:00 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.54 2007/06/04 21:33:27 tg Exp $");
int
c_cd(const char **wp)
@ -1373,7 +1373,7 @@ const struct builtin kshbuiltins [] = {
{"+bg", c_fgbg},
{"+fg", c_fgbg},
{"bind", c_bind},
{NULL, NULL}
{NULL, (int (*)(const char **))NULL}
};
static void p_time(struct shf *, int, struct timeval *, int,
@ -2331,7 +2331,7 @@ const struct builtin shbuiltins [] = {
#if !defined(MKSH_SMALL) || defined(MKSH_NEED_MKNOD)
{"mknod", c_mknod},
#endif
{NULL, NULL}
{NULL, (int (*)(const char **))NULL}
};
/* test(1) accepts the following grammar: