diff --git a/include/picrin/port.h b/include/picrin/port.h index 3ef51c04..cb326bd1 100644 --- a/include/picrin/port.h +++ b/include/picrin/port.h @@ -3,18 +3,6 @@ #include -enum pic_port_flag { - PIC_PORT_IN = 1, - PIC_PORT_OUT = 2, - PIC_PORT_TEXT = 4, - PIC_PORT_BINARY = 8, -}; - -enum pic_port_status { - PIC_PORT_OPEN, - PIC_PORT_CLOSE, -}; - #define PIC_UBUFSIZ 3 enum pic_file_flags { @@ -42,6 +30,18 @@ typedef struct { } vtable; } pic_file; +enum pic_port_flag { + PIC_PORT_IN = 1, + PIC_PORT_OUT = 2, + PIC_PORT_TEXT = 4, + PIC_PORT_BINARY = 8, +}; + +enum pic_port_status { + PIC_PORT_OPEN, + PIC_PORT_CLOSE, +}; + struct pic_port { PIC_OBJECT_HEADER pic_file *file;