cosmetic changes

This commit is contained in:
Yuichi Nishiwaki 2014-01-16 21:00:55 +09:00
parent 73ad915fcf
commit eaf79ce757
1 changed files with 12 additions and 12 deletions

View File

@ -3,18 +3,6 @@
#include <stdio.h> #include <stdio.h>
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 #define PIC_UBUFSIZ 3
enum pic_file_flags { enum pic_file_flags {
@ -42,6 +30,18 @@ typedef struct {
} vtable; } vtable;
} pic_file; } 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 { struct pic_port {
PIC_OBJECT_HEADER PIC_OBJECT_HEADER
pic_file *file; pic_file *file;