Skip to content

Commit 0ceccd4

Browse files
committed
all: Rename *umodule*.h to remove the "u" prefix.
This work was funded through GitHub Sponsors. Also updates #includes. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent f5f9edf commit 0ceccd4

25 files changed

Lines changed: 40 additions & 39 deletions
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2424
* THE SOFTWARE.
2525
*/
26-
#ifndef MICROPY_INCLUDED_MODUPLATFORM_H
27-
#define MICROPY_INCLUDED_MODUPLATFORM_H
26+
#ifndef MICROPY_INCLUDED_MODPLATFORM_H
27+
#define MICROPY_INCLUDED_MODPLATFORM_H
2828

2929
#include "py/misc.h" // For MP_STRINGIFY.
3030
#include "py/mpconfig.h"
@@ -102,4 +102,4 @@
102102
#define MICROPY_PLATFORM_VERSION ""
103103
#endif
104104

105-
#endif // MICROPY_INCLUDED_MODUPLATFORM_H
105+
#endif // MICROPY_INCLUDED_MODPLATFORM_H
File renamed without changes.

extmod/moduplatform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include "py/objtuple.h"
3030
#include "py/objstr.h"
3131
#include "py/mphal.h"
32-
#include "extmod/moduplatform.h"
32+
#include "extmod/modplatform.h"
3333
#include "genhdr/mpversion.h"
3434

3535
#if MICROPY_PY_PLATFORM

extmod/modutime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "py/mphal.h"
2929
#include "py/runtime.h"
3030
#include "py/smallint.h"
31-
#include "extmod/modutime.h"
31+
#include "extmod/modtime.h"
3232

3333
#if MICROPY_PY_TIME
3434

extmod/moduwebsocket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
#include "py/runtime.h"
3232
#include "py/stream.h"
33-
#include "extmod/moduwebsocket.h"
33+
#include "extmod/modwebsocket.h"
3434

3535
#if MICROPY_PY_WEBSOCKET
3636

extmod/moduwebsocket.h

Lines changed: 0 additions & 10 deletions
This file was deleted.

extmod/modwebrepl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#ifdef MICROPY_PY_WEBREPL_DELAY
3535
#include "py/mphal.h"
3636
#endif
37-
#include "extmod/moduwebsocket.h"
37+
#include "extmod/modwebsocket.h"
3838

3939
#if MICROPY_PY_WEBREPL
4040

extmod/modwebsocket.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#ifndef MICROPY_INCLUDED_EXTMOD_MODWEBSOCKET_H
2+
#define MICROPY_INCLUDED_EXTMOD_MODWEBSOCKET_H
3+
4+
#define FRAME_OPCODE_MASK 0x0f
5+
enum {
6+
FRAME_CONT, FRAME_TXT, FRAME_BIN,
7+
FRAME_CLOSE = 0x8, FRAME_PING, FRAME_PONG
8+
};
9+
10+
#endif // MICROPY_INCLUDED_EXTMOD_MODWEBSOCKET_H

extmod/utime_mphal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

ports/cc3200/ftp/ftp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@
4242
#include "simplelink.h"
4343
#include "modnetwork.h"
4444
#include "modwlan.h"
45-
#include "modusocket.h"
45+
#include "modsocket.h"
4646
#include "debug.h"
4747
#include "serverstask.h"
4848
#include "fifo.h"
4949
#include "socketfifo.h"
5050
#include "updater.h"
51-
#include "moduos.h"
51+
#include "modos.h"
5252

5353
/******************************************************************************
5454
DEFINE PRIVATE CONSTANTS

0 commit comments

Comments
 (0)