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. * THE SOFTWARE.
*/ */
#include <unistd.h>
#include "py/nlr.h" #include "py/nlr.h"
#include "py/objlist.h" #include "py/objlist.h"
#include "py/runtime0.h" #include "py/runtime0.h"

View File

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

View File

@ -25,11 +25,6 @@
*/ */
#include <stdio.h> #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/nlr.h"
#include "py/runtime.h" #include "py/runtime.h"

View File

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

View File

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