summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2020-04-16 09:22:15 +0200
committerDamien George <damien.p.george@gmail.com>2020-04-23 11:24:15 +1000
commitd6243568a05d423b58522435c3779975acbf56dd (patch)
tree60d70ccfbec061f855f457f2643ad5b338a2cc4b
parent1ae7e0e561134c39471e3000eced33da732b4103 (diff)
all: Remove commented-out include statements.
-rw-r--r--lib/libm/sf_ldexp.c1
-rw-r--r--lib/libm/wf_lgamma.c2
-rw-r--r--lib/libm_dbl/nearbyint.c1
-rw-r--r--ports/cc3200/mods/pybflash.c3
-rw-r--r--ports/esp8266/machine_wdt.c1
-rw-r--r--ports/nrf/modules/uos/moduos.c2
-rw-r--r--ports/teensy/modpyb.c3
7 files changed, 0 insertions, 13 deletions
diff --git a/lib/libm/sf_ldexp.c b/lib/libm/sf_ldexp.c
index 37968d475..31dd9b3d8 100644
--- a/lib/libm/sf_ldexp.c
+++ b/lib/libm/sf_ldexp.c
@@ -23,7 +23,6 @@
*/
#include "fdlibm.h"
-//#include <errno.h>
#ifdef __STDC__
float ldexpf(float value, int exp)
diff --git a/lib/libm/wf_lgamma.c b/lib/libm/wf_lgamma.c
index d86ede790..834a4de48 100644
--- a/lib/libm/wf_lgamma.c
+++ b/lib/libm/wf_lgamma.c
@@ -25,8 +25,6 @@
#include "fdlibm.h"
#define _IEEE_LIBM 1
-//#include <reent.h>
-//#include <errno.h>
#ifdef __STDC__
float lgammaf(float x)
diff --git a/lib/libm_dbl/nearbyint.c b/lib/libm_dbl/nearbyint.c
index 6e9b0c1f7..c3a0b88af 100644
--- a/lib/libm_dbl/nearbyint.c
+++ b/lib/libm_dbl/nearbyint.c
@@ -1,4 +1,3 @@
-//#include <fenv.h>
#include <math.h>
/* nearbyint is the same as rint, but it must not raise the inexact exception */
diff --git a/ports/cc3200/mods/pybflash.c b/ports/cc3200/mods/pybflash.c
index b58619521..9d534608b 100644
--- a/ports/cc3200/mods/pybflash.c
+++ b/ports/cc3200/mods/pybflash.c
@@ -24,9 +24,6 @@
* THE SOFTWARE.
*/
-//#include <stdint.h>
-//#include <string.h>
-
#include "py/runtime.h"
#include "lib/oofatfs/ff.h"
#include "lib/oofatfs/diskio.h"
diff --git a/ports/esp8266/machine_wdt.c b/ports/esp8266/machine_wdt.c
index 9411e311b..b64830e7d 100644
--- a/ports/esp8266/machine_wdt.c
+++ b/ports/esp8266/machine_wdt.c
@@ -24,7 +24,6 @@
* THE SOFTWARE.
*/
-//#include <stdio.h>
#include <string.h>
#include "py/runtime.h"
diff --git a/ports/nrf/modules/uos/moduos.c b/ports/nrf/modules/uos/moduos.c
index 3bd411932..98a5661f4 100644
--- a/ports/nrf/modules/uos/moduos.c
+++ b/ports/nrf/modules/uos/moduos.c
@@ -37,9 +37,7 @@
#include "extmod/vfs.h"
#include "extmod/vfs_fat.h"
#include "genhdr/mpversion.h"
-//#include "timeutils.h"
#include "uart.h"
-//#include "portmodules.h"
#if MICROPY_HW_ENABLE_RNG
#include "drivers/rng.h"
diff --git a/ports/teensy/modpyb.c b/ports/teensy/modpyb.c
index 6c190fba2..83b25c4d0 100644
--- a/ports/teensy/modpyb.c
+++ b/ports/teensy/modpyb.c
@@ -44,9 +44,6 @@
#include "extint.h"
#include "usrsw.h"
#include "rng.h"
-//#include "rtc.h"
-//#include "i2c.h"
-//#include "spi.h"
#include "uart.h"
#include "adc.h"
#include "storage.h"