mirror of
https://github.com/rfivet/uemacs.git
synced 2025-01-29 19:46:35 -05:00
fileio depends on display instead of efunc.
This commit is contained in:
parent
f6780cb71b
commit
86d5b10fa9
6
Makefile
6
Makefile
@ -28,7 +28,7 @@ OBJ=basic.o bind.o buffer.o crypt.o display.o eval.o exec.o \
|
||||
termio.o window.o word.o names.o globals.o \
|
||||
wrapper.o utf8.o
|
||||
|
||||
HDR=crypt.h ebind.h edef.h efunc.h estruct.h fileio.h version.h
|
||||
HDR=crypt.h display.h ebind.h edef.h efunc.h estruct.h fileio.h version.h
|
||||
|
||||
# DO NOT ADD OR MODIFY ANY LINES ABOVE THIS -- make source creates them
|
||||
|
||||
@ -135,11 +135,11 @@ basic.o: basic.c estruct.h edef.h
|
||||
bind.o: bind.c estruct.h edef.h fileio.h
|
||||
buffer.o: buffer.c estruct.h edef.h
|
||||
crypt.o: crypt.c crypt.h estruct.h edef.h
|
||||
display.o: display.c estruct.h edef.h utf8.h version.h
|
||||
display.o: display.c display.h estruct.h edef.h utf8.h version.h
|
||||
eval.o: eval.c estruct.h edef.h version.h fileio.h
|
||||
exec.o: exec.c estruct.h edef.h
|
||||
file.o: file.c crypt.h estruct.h edef.h fileio.h
|
||||
fileio.o: fileio.c fileio.h crypt.h estruct.h edef.h
|
||||
fileio.o: fileio.c fileio.h crypt.h display.h estruct.h edef.h
|
||||
ibmpc.o: ibmpc.c estruct.h edef.h
|
||||
input.o: input.c estruct.h edef.h
|
||||
isearch.o: isearch.c estruct.h edef.h
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* display.c -- implements display.h */
|
||||
|
||||
#include "display.h"
|
||||
|
||||
/* display.c
|
||||
*
|
||||
* The functions in this file handle redisplay. There are two halves, the
|
||||
|
23
display.h
Normal file
23
display.h
Normal file
@ -0,0 +1,23 @@
|
||||
#ifndef _DISPLAY_H_
|
||||
#define _DISPLAY_H_
|
||||
|
||||
void vtinit( void) ;
|
||||
void vtfree( void) ;
|
||||
void vttidy( void) ;
|
||||
void vtmove( int row, int col) ;
|
||||
int upscreen( int f, int n) ;
|
||||
int update( int force) ;
|
||||
void updpos( void) ;
|
||||
void upddex( void) ;
|
||||
void updgar( void) ;
|
||||
int updupd( int force) ;
|
||||
void upmode( void) ;
|
||||
void movecursor( int row, int col) ;
|
||||
void mlerase( void) ;
|
||||
void mlwrite( const char *fmt, ...) ;
|
||||
void mlforce( char *s) ;
|
||||
void mlputs( char *s) ;
|
||||
void getscreensize( int *widthp, int *heightp) ;
|
||||
void sizesignal( int signr) ;
|
||||
|
||||
#endif
|
19
efunc.h
19
efunc.h
@ -120,24 +120,7 @@ extern int unarg(int f, int n);
|
||||
extern int cexit(int status);
|
||||
|
||||
/* display.c */
|
||||
extern void vtinit(void);
|
||||
extern void vtfree(void);
|
||||
extern void vttidy(void);
|
||||
extern void vtmove(int row, int col);
|
||||
extern int upscreen(int f, int n);
|
||||
extern int update(int force);
|
||||
extern void updpos(void);
|
||||
extern void upddex(void);
|
||||
extern void updgar(void);
|
||||
extern int updupd(int force);
|
||||
extern void upmode(void);
|
||||
extern void movecursor(int row, int col);
|
||||
extern void mlerase(void);
|
||||
extern void mlwrite(const char *fmt, ...);
|
||||
extern void mlforce(char *s);
|
||||
extern void mlputs(char *s);
|
||||
extern void getscreensize(int *widthp, int *heightp);
|
||||
extern void sizesignal(int signr);
|
||||
#include "display.h"
|
||||
|
||||
/* region.c */
|
||||
extern int killregion(int f, int n);
|
||||
|
8
fileio.c
8
fileio.c
@ -10,11 +10,11 @@
|
||||
* modified by Petri Kutvonen
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdio.h>
|
||||
#include "crypt.h"
|
||||
#include "estruct.h"
|
||||
#include "edef.h"
|
||||
#include "efunc.h"
|
||||
#include "display.h"
|
||||
#include "estruct.h"
|
||||
#include "edef.h"
|
||||
|
||||
static FILE *ffp; /* File pointer, all functions. */
|
||||
static int eofflag; /* end-of-file flag */
|
||||
|
Loading…
Reference in New Issue
Block a user