diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-12 22:34:38 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-12 22:34:38 +0000 |
commit | abc1959e2c8170cc37d2e1fa1654f1266479d666 (patch) | |
tree | 507831aceb537390763bb8886634c43a4dad79ad /lib | |
parent | cd3420740909b3b6a2140b613b591b7556b417a2 (diff) | |
download | micropython-abc1959e2c8170cc37d2e1fa1654f1266479d666.tar.gz micropython-abc1959e2c8170cc37d2e1fa1654f1266479d666.zip |
py, unix, lib: Allow to compile with -Wold-style-definition.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mp-readline/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mp-readline/readline.c b/lib/mp-readline/readline.c index 78380e3170..ae61f3f807 100644 --- a/lib/mp-readline/readline.c +++ b/lib/mp-readline/readline.c @@ -249,7 +249,7 @@ end_key: return -1; } -void readline_note_newline() { +void readline_note_newline(void) { rl.orig_line_len = rl.line->len; rl.cursor_pos = rl.orig_line_len; } |