From 50a2d6ff5902a92b4380da934d5a59b1085e9ece Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Sun, 19 Jan 2014 07:49:29 +0200
Subject: [PATCH] Fix incorrect prototype of mp_builtin_open() after args
 refactor.

---
 unix/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unix/file.c b/unix/file.c
index 9b8c82252..af7594471 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);
 }
-- 
GitLab