diff --git a/port.c b/port.c index b9679e54..859df8a5 100644 --- a/port.c +++ b/port.c @@ -43,7 +43,7 @@ pic_stdout(pic_state *pic) } struct pic_port * -pic_port_make_stdport(pic_state *pic, xFILE *file, short dir) +pic_make_standard_port(pic_state *pic, xFILE *file, short dir) { struct pic_port *port; diff --git a/state.c b/state.c index 2f859642..b93559f4 100644 --- a/state.c +++ b/state.c @@ -18,7 +18,7 @@ void pic_init_core(pic_state *); pic_state * pic_open(int argc, char *argv[], char **envp) { - struct pic_port *pic_port_make_stdport(pic_state *, xFILE *, short); + struct pic_port *pic_make_standard_port(pic_state *, xFILE *, short); char t; pic_state *pic; @@ -165,9 +165,9 @@ pic_open(int argc, char *argv[], char **envp) pic->lib = pic->PICRIN_USER; /* standard I/O */ - pic->xSTDIN = pic_port_make_stdport(pic, xstdin, PIC_PORT_IN); - pic->xSTDOUT = pic_port_make_stdport(pic, xstdout, PIC_PORT_OUT); - pic->xSTDERR = pic_port_make_stdport(pic, xstderr, PIC_PORT_OUT); + pic->xSTDIN = pic_make_standard_port(pic, xstdin, PIC_PORT_IN); + pic->xSTDOUT = pic_make_standard_port(pic, xstdout, PIC_PORT_OUT); + pic->xSTDERR = pic_make_standard_port(pic, xstderr, PIC_PORT_OUT); pic_init_core(pic);