summaryrefslogtreecommitdiffstatshomepage
path: root/py/objstr.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-30 05:35:18 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-30 05:35:18 +0300
commite908591baaf74db521c973369b15951184e2134b (patch)
tree5433adf55ee52e4f61111855bd764a9c66bd3913 /py/objstr.c
parentb1ce37d32e1b77373a86d27d1f1f925891a402d1 (diff)
downloadmicropython-e908591baaf74db521c973369b15951184e2134b.tar.gz
micropython-e908591baaf74db521c973369b15951184e2134b.zip
py: Abstract no-return attribute for functions a bit.
Diffstat (limited to 'py/objstr.c')
-rw-r--r--py/objstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstr.c b/py/objstr.c
index 6819a4ad68..aab1a4492c 100644
--- a/py/objstr.c
+++ b/py/objstr.c
@@ -27,7 +27,7 @@ const mp_obj_t mp_const_empty_bytes;
STATIC mp_obj_t mp_obj_new_str_iterator(mp_obj_t str);
STATIC mp_obj_t mp_obj_new_bytes_iterator(mp_obj_t str);
STATIC mp_obj_t str_new(const mp_obj_type_t *type, const byte* data, uint len);
-STATIC void bad_implicit_conversion(mp_obj_t self_in) __attribute__((noreturn));
+STATIC NORETURN void bad_implicit_conversion(mp_obj_t self_in);
/******************************************************************************/
/* str */