s/pic_port_make_stdport/pic_make_standard_port/g

This commit is contained in:
Yuichi Nishiwaki 2014-09-16 15:06:45 +09:00
parent 8729a98af7
commit db5a4e367b
2 changed files with 5 additions and 5 deletions

2
port.c
View File

@ -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;

View File

@ -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);