b/sched/sched/sched_waitpid.c: Remove options check in DEBUG_FEATURES

This commit is contained in:
Gregory Nutt 2018-09-05 06:45:49 -06:00
parent 3611aefd14
commit b7d1f13a54
2 changed files with 1 additions and 12 deletions

View File

@ -335,17 +335,6 @@ pid_t waitpid(pid_t pid, int *stat_loc, int options)
(void)enter_cancellation_point();
/* None of the options are supported */
#ifdef CONFIG_DEBUG_FEATURES
if (options != 0)
{
set_errno(ENOSYS);
leave_cancellation_point();
return ERROR;
}
#endif
/* Create a signal set that contains only SIGCHLD */
(void)sigemptyset(&set);

View File

@ -216,8 +216,8 @@ if [ "X${USRONLY}" == "Xy" ]; then
echo "LD = ${LD}" >>"${EXPORTDIR}/build/Make.defs"
echo "AR = ${AR}" >>"${EXPORTDIR}/build/Make.defs"
echo "NM = ${NM}" >>"${EXPORTDIR}/build/Make.defs"
echo "OBJCOPY = ${OBJCOPY}" >>"${EXPORTDIR}/build/Make.defs"
echo "STRIP = ${STRIP}" >>"${EXPORTDIR}/build/Make.defs"
echo "OBJCOPY = ${OBJCOPY}" >>"${EXPORTDIR}/build/Make.defs"
echo "OBJDUMP = ${OBJDUMP}" >>"${EXPORTDIR}/build/Make.defs"
echo "NXFLATLDFLAGS1 = ${NXFLATLDFLAGS1}" >>"${EXPORTDIR}/build/Make.defs"
echo "NXFLATLDFLAGS2 = ${NXFLATLDFLAGS2}" >>"${EXPORTDIR}/build/Make.defs"