diff --git a/file.c b/file.c index d011ad9..5587889 100644 --- a/file.c +++ b/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 diff --git a/file.h b/file.h index d60e264..ab3ca71 100644 --- a/file.h +++ b/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) ; diff --git a/globals.c b/globals.c index 429a3b5..612ddd8 100644 --- a/globals.c +++ b/globals.c @@ -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 */ diff --git a/globals.h b/globals.h index a11b16d..eadf57b 100644 --- a/globals.h +++ b/globals.h @@ -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 */