From abc1959e2c8170cc37d2e1fa1654f1266479d666 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 12 Jan 2015 22:34:38 +0000 Subject: py, unix, lib: Allow to compile with -Wold-style-definition. --- extmod/moductypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extmod/moductypes.c') 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")); } -- cgit v1.2.3