summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-10-23 12:09:37 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-10-23 12:09:37 +0300
commitcfff12612f92d6ae460e9748394a0cedf3b3d31d (patch)
tree2c9b1df4dc649ee1c3d1943652d6d6e56e2226b1
parent9956fd0710c3866b9df37857c9aa62b8bb681403 (diff)
unix: Rename modsocket.c to modusocket.c.
Unix naming is historical, before current conventions were established. All other ports however have it as "modusocket.c", so rename for consistency and to avoid confusion.
-rw-r--r--ports/unix/Makefile2
-rw-r--r--ports/unix/modusocket.c (renamed from ports/unix/modsocket.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/ports/unix/Makefile b/ports/unix/Makefile
index 1a1ea01f7..b96391f69 100644
--- a/ports/unix/Makefile
+++ b/ports/unix/Makefile
@@ -97,7 +97,7 @@ SRC_MOD += modtermios.c
endif
ifeq ($(MICROPY_PY_SOCKET),1)
CFLAGS_MOD += -DMICROPY_PY_SOCKET=1
-SRC_MOD += modsocket.c
+SRC_MOD += modusocket.c
endif
ifeq ($(MICROPY_PY_THREAD),1)
CFLAGS_MOD += -DMICROPY_PY_THREAD=1 -DMICROPY_PY_THREAD_GIL=0
diff --git a/ports/unix/modsocket.c b/ports/unix/modusocket.c
index 7e82554c7..7e82554c7 100644
--- a/ports/unix/modsocket.c
+++ b/ports/unix/modusocket.c