summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--unix/file.c2
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);
}