summaryrefslogtreecommitdiff
path: root/extmod
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-12 22:34:38 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-12 22:34:38 +0000
commitabc1959e2c8170cc37d2e1fa1654f1266479d666 (patch)
tree507831aceb537390763bb8886634c43a4dad79ad /extmod
parentcd3420740909b3b6a2140b613b591b7556b417a2 (diff)
py, unix, lib: Allow to compile with -Wold-style-definition.
Diffstat (limited to 'extmod')
-rw-r--r--extmod/moductypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/moductypes.c b/extmod/moductypes.c
index 416565ed5..923d34488 100644
--- a/extmod/moductypes.c
+++ b/extmod/moductypes.c
@@ -117,7 +117,7 @@ typedef struct _mp_obj_uctypes_struct_t {
uint32_t flags;
} mp_obj_uctypes_struct_t;
-STATIC NORETURN void syntax_error() {
+STATIC NORETURN void syntax_error(void) {
nlr_raise(mp_obj_new_exception_msg(&mp_type_TypeError, "syntax error in uctypes descriptor"));
}