1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 07:16:23 -05:00

Restflag moved from globals to file.

This commit is contained in:
Renaud 2013-10-09 14:03:56 +08:00
parent 80256bdd6d
commit 8862838594
4 changed files with 4 additions and 2 deletions

2
file.c
View File

@ -49,6 +49,8 @@ static const char *eolname[] = {
"MIXED"
} ;
boolean restflag = FALSE ; /* restricted use? */
/*
* Read a file into the current
* buffer. This is really easy; all you do it

2
file.h
View File

@ -11,6 +11,8 @@ void cryptbufferkey( struct buffer *bp) ;
int set_encryption_key( int f, int n) ;
#endif
extern boolean restflag ; /* restricted use? */
int fileread( int f, int n) ;
int insfile( int f, int n) ;
int filefind( int f, int n) ;

View File

@ -25,7 +25,6 @@ int abortc = CONTROL | 'G'; /* current abort command char */
int tabmask = 0x07; /* tabulator mask */
int restflag = FALSE; /* restricted use? */
long envram = 0l; /* # of bytes current in use by malloc */
int rval = 0; /* return value of a subprocess */
int overlap = 0; /* line overlap in forw/back page */

View File

@ -26,7 +26,6 @@ extern int abortc; /* current abort command char */
extern int tabmask;
extern int restflag; /* restricted use? */
extern long envram; /* # of bytes current in use by malloc */
extern int rval; /* return value of a subprocess */
extern int overlap; /* line overlap in forw/back page */