x_bind cannot have the nonnull attribute

cought by Frank “enstein” Terbeck «ft:#grml» (efftee), 10x
This commit is contained in:
tg
2010-02-23 18:13:04 +00:00
parent 5beee95d6b
commit 150a35a02d
4 changed files with 11 additions and 16 deletions

View File

@ -25,7 +25,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.150 2010/01/28 15:18:48 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.151 2010/02/23 18:13:03 tg Exp $");
#if HAVE_KILLPG
/*
@ -1683,12 +1683,6 @@ c_getopts(const char **wp)
return (optc < 0 ? 1 : rv);
}
#ifndef MKSH_SMALL
extern int x_bind(const char *, const char *, bool, bool);
#else
extern int x_bind(const char *, const char *, bool);
#endif
int
c_bind(const char **wp)
{