nuttx/sched: Remove explicit references to errno. That is a problem from within the kernel for certain configurations

This commit is contained in:
Gregory Nutt
2014-08-28 17:00:24 -06:00
parent 9ab67dce75
commit 0ab1b0de25
15 changed files with 26 additions and 25 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ int putenv(FAR const char *string)
return ret;
errout:
errno = ret;
set_errno(ret);
return ERROR;
}
+1 -1
View File
@@ -197,7 +197,7 @@ int setenv(FAR const char *name, FAR const char *value, int overwrite)
errout_with_lock:
sched_unlock();
errout:
errno = ret;
set_errno(ret);
return ERROR;
}