include xfile in picirn.h

This commit is contained in:
Yuichi Nishiwaki 2014-02-09 14:52:53 +09:00
parent 62988a8c19
commit 7fe109a998
3 changed files with 1 additions and 4 deletions

View File

@ -34,6 +34,7 @@ extern "C" {
#include <stdio.h> #include <stdio.h>
#include "xhash/xhash.h" #include "xhash/xhash.h"
#include "xfile/xfile.h"
#if __STDC_VERSION__ >= 201112L #if __STDC_VERSION__ >= 201112L
# define NORETURN _Noreturn # define NORETURN _Noreturn

View File

@ -9,9 +9,6 @@
extern "C" { extern "C" {
#endif #endif
#include <stdio.h>
#include "xfile/xfile.h"
enum pic_port_flag { enum pic_port_flag {
PIC_PORT_IN = 1, PIC_PORT_IN = 1,
PIC_PORT_OUT = 2, PIC_PORT_OUT = 2,

View File

@ -6,7 +6,6 @@
#include "picrin.h" #include "picrin.h"
#include "picrin/port.h" #include "picrin/port.h"
#include "xfile/xfile.h"
static pic_value static pic_value
generic_open_file(pic_state *pic, const char *fname, char *mode, short flags) generic_open_file(pic_state *pic, const char *fname, char *mode, short flags)