mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-17 23:06:25 -05:00
Restflag moved from globals to file.
This commit is contained in:
parent
80256bdd6d
commit
8862838594
2
file.c
2
file.c
@ -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
2
file.h
@ -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) ;
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user