Remove estruct dependencies in headers of fileio and flook.

This commit is contained in:
Renaud 2013-09-19 13:28:34 +08:00
parent c3bffda340
commit d266ec4b2a
4 changed files with 5 additions and 4 deletions

View File

@ -151,8 +151,8 @@ execute.o: execute.c edef.h estruct.h line.h utf8.h retcode.h bind.h \
random.h display.h file.h
file.o: file.c file.h buffer.h estruct.h line.h utf8.h retcode.h crypt.h \
edef.h execute.h fileio.h input.h lock.h log.h window.h
fileio.o: fileio.c fileio.h estruct.h line.h utf8.h retcode.h crypt.h
flook.o: flook.c flook.h estruct.h line.h utf8.h retcode.h fileio.h
fileio.o: fileio.c fileio.h retcode.h estruct.h line.h utf8.h crypt.h
flook.o: flook.c flook.h retcode.h estruct.h line.h utf8.h fileio.h
globals.o: globals.c estruct.h line.h utf8.h retcode.h edef.h
ibmpc.o: ibmpc.c estruct.h line.h utf8.h retcode.h edef.h
input.o: input.c input.h edef.h estruct.h line.h utf8.h retcode.h bind.h \

View File

@ -1,7 +1,7 @@
#ifndef _FILEIO_H_
#define _FILEIO_H_
#include "estruct.h"
#include "retcode.h"
typedef enum {
FIOSUC, /* File I/O, success. */

View File

@ -7,6 +7,7 @@
#include <string.h>
#include "estruct.h"
#include "fileio.h"

View File

@ -1,4 +1,4 @@
#include "estruct.h"
#include "retcode.h"
#define rcfname pathname[ 0]