diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-19 07:49:29 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-19 07:50:45 +0200 |
commit | 50a2d6ff5902a92b4380da934d5a59b1085e9ece (patch) | |
tree | 50a6e3cfcfe7109d997aa64232b2cd3ce9769b19 | |
parent | e2f3e1d24acb38dfdec9d56f798c8d786dfc3d3c (diff) | |
download | micropython-50a2d6ff5902a92b4380da934d5a59b1085e9ece.tar.gz micropython-50a2d6ff5902a92b4380da934d5a59b1085e9ece.zip |
Fix incorrect prototype of mp_builtin_open() after args refactor.
-rw-r--r-- | unix/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/file.c b/unix/file.c index 9b8c822520..af75944711 100644 --- a/unix/file.c +++ b/unix/file.c @@ -112,7 +112,7 @@ static const mp_obj_type_t rawfile_type = { }; // Factory function for I/O stream classes -mp_obj_t mp_builtin_open(uint n_args, uint n_kw, const mp_obj_t *args) { +mp_obj_t mp_builtin_open(uint n_args, const mp_obj_t *args) { // TODO: analyze mode and buffering args and instantiate appropriate type return fdfile_make_new((mp_obj_t)&rawfile_type, n_args, 0, args); } |