From eaf79ce757478c32fe74d134c5ca5f85f38f78d3 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Thu, 16 Jan 2014 21:00:55 +0900 Subject: [PATCH] cosmetic changes --- include/picrin/port.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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;