diff --git a/extlib/benz b/extlib/benz index 4fd4e15c..2d805222 160000 --- a/extlib/benz +++ b/extlib/benz @@ -1 +1 @@ -Subproject commit 4fd4e15cc196a89e5ed5133896d7b8b9f4b2c10a +Subproject commit 2d80522230358a4f3f2a1cd1af56da16d0f612d0 diff --git a/src/main.c b/src/main.c index 9bd66a92..33eb7cf4 100644 --- a/src/main.c +++ b/src/main.c @@ -6,6 +6,9 @@ #include "picrin/pair.h" #include "picrin/error.h" +void pic_init_contrib(pic_state *); +void pic_load_piclib(pic_state *); + static pic_value pic_features(pic_state *pic) { @@ -34,9 +37,6 @@ pic_libraries(pic_state *pic) return libs; } -void pic_init_contrib(pic_state *); -void pic_load_piclib(pic_state *); - void pic_init_picrin(pic_state *pic) { @@ -55,11 +55,10 @@ pic_init_picrin(pic_state *pic) int main(int argc, char *argv[], char **envp) { - xFILE *stdio[3] = { xstdin, xstdout, xstderr }; pic_state *pic; int status = 0; - pic = pic_open(argc, argv, envp, stdio); + pic = pic_open(argc, argv, envp); pic_init_picrin(pic);