From b57c1adc2064438de2bb2d6db5a98d60bb60e1bd Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Sun, 9 Jun 2013 16:16:02 +0800 Subject: [PATCH] Move FIO return code into fileio.h, where they belong. --- estruct.h | 7 ------- fileio.h | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/estruct.h b/estruct.h index 97247e2..0ae1a7e 100644 --- a/estruct.h +++ b/estruct.h @@ -289,13 +289,6 @@ #define FORWARD 0 /* forward direction */ #define REVERSE 1 /* backwards direction */ -#define FIOSUC 0 /* File I/O, success. */ -#define FIOFNF 1 /* File I/O, file not found. */ -#define FIOEOF 2 /* File I/O, end of file. */ -#define FIOERR 3 /* File I/O, error. */ -#define FIOMEM 4 /* File I/O, out of memory */ -#define FIOFUN 5 /* File I/O, eod of file/bad line */ - #define CFCPCN 0x0001 /* Last command was C-P, C-N */ #define CFKILL 0x0002 /* Last command was a kill */ diff --git a/fileio.h b/fileio.h index 70ade7b..df607c3 100644 --- a/fileio.h +++ b/fileio.h @@ -1,6 +1,13 @@ #ifndef _FILEIO_H_ #define _FILEIO_H_ +#define FIOSUC 0 /* File I/O, success. */ +#define FIOFNF 1 /* File I/O, file not found. */ +#define FIOEOF 2 /* File I/O, end of file. */ +#define FIOERR 3 /* File I/O, error. */ +#define FIOMEM 4 /* File I/O, out of memory */ +#define FIOFUN 5 /* File I/O, eod of file/bad line */ + #define FTYPE_NONE 0 #define FTYPE_UNIX 1 #define FTYPE_DOS 2