summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstr.c
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-23 20:20:17 +0100
committerDamien <damien.p.george@gmail.com>2013-10-23 20:20:17 +0100
commit8b3a7c2237d74b84eb7ff9fe4b6cd5888545f2af (patch)
tree876d0481e9c06c2d280dd3e602335a3aad977915 /py/qstr.c
parent94186c82396dee2f70785bf9e241780f29275870 (diff)
downloadmicropython-8b3a7c2237d74b84eb7ff9fe4b6cd5888545f2af.tar.gz
micropython-8b3a7c2237d74b84eb7ff9fe4b6cd5888545f2af.zip
Fix func decls with no arguments: () -> (void).
Diffstat (limited to 'py/qstr.c')
-rw-r--r--py/qstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/qstr.c b/py/qstr.c
index 33d15c7e73..6fa69ddb95 100644
--- a/py/qstr.c
+++ b/py/qstr.c
@@ -7,7 +7,7 @@ static int qstrs_alloc;
static int qstrs_len;
static const char **qstrs;
-void qstr_init() {
+void qstr_init(void) {
qstrs_alloc = 400;
qstrs_len = 1;
qstrs = m_new(const char*, qstrs_alloc);