8000 Prune atmel-samd errno list · adafruit/circuitpython@22f4438 · GitHub
[go: up one dir, main page]

Skip to content

Commit 22f4438

Browse files
committed
Prune atmel-samd errno list
Remove errnos that are only raised by modules that aren't linked into the atmel-samd port.
1 parent e798b67 commit 22f4438

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

ports/atmel-samd/mpconfigport.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -294,25 +294,13 @@ extern const struct _mp_obj_module_t usb_hid_module;
294294
X(EPERM) \
295295
X(ENOENT) \
296296
X(EIO) \
297-
X(EBADF) \
298297
X(EAGAIN) \
299298
X(ENOMEM) \
300299
X(EACCES) \
301300
X(EEXIST) \
302301
X(ENODEV) \
303302
X(EISDIR) \
304303
X(EINVAL) \
305-
X(EOPNOTSUPP) \
306-
X(EADDRINUSE) \
307-
X(ECONNABORTED) \
308-
X(ECONNRESET) \
309-
X(ENOBUFS) \
310-
X(ENOTCONN) \
311-
X(ETIMEDOUT) \
312-
X(ECONNREFUSED) \
313-
X(EHOSTUNREACH) \
314-
X(EALREADY) \
315-
X(EINPROGRESS) \
316304

317305
// We need to provide a declaration/definition of alloca()
318306
#include <alloca.h>

0 commit comments

Comments
 (0)
0