py, extmod: Remove include of unnecessary system headers.

This commit is contained in:
Damien George 2015-03-14 23:11:25 +00:00
parent 836e46976f
commit 1ef26b35c1
5 changed files with 2 additions and 11 deletions

View file

@ -24,8 +24,6 @@
* THE SOFTWARE.
*/
#include <unistd.h>
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/runtime0.h"

View file

@ -25,8 +25,6 @@
*/
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include "py/nlr.h"
#include "py/objlist.h"

View file

@ -25,11 +25,6 @@
*/
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <sys/time.h>
#include <math.h>
#include "py/nlr.h"
#include "py/runtime.h"

View file

@ -29,7 +29,6 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "py/scope.h"
#include "py/emit.h"

View file

@ -28,7 +28,6 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "py/nlr.h"
#include "py/parsenum.h"
@ -37,6 +36,8 @@
#if MICROPY_PY_BUILTINS_FLOAT
#include <math.h>
#if MICROPY_FLOAT_IMPL == MICROPY_FLOAT_IMPL_FLOAT
#include "py/formatfloat.h"
#endif