mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-06 08:24:44 +00:00
Convert nearly-dead code to using statvfs, not statfs. Remove unused stat buf. (#60)
This code is for non-DOS, non-XWindows, and still used the legacy statfs API.
This commit is contained in:
@@ -27,7 +27,6 @@ static char *id = "$Id: vmemsave.c,v 1.2 1999/01/03 02:07:45 sybalsky Exp $ Copy
|
||||
#include <dirent.h>
|
||||
#include <string.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/stat.h>
|
||||
#include <pwd.h>
|
||||
#include <unistd.h>
|
||||
#else
|
||||
@@ -76,8 +75,6 @@ static char *id = "$Id: vmemsave.c,v 1.2 1999/01/03 02:07:45 sybalsky Exp $ Copy
|
||||
#define FILECANNOTWRITE S_POSITIVE | 5
|
||||
#define FILETIMEOUT S_POSITIVE | 6
|
||||
|
||||
struct stat DEBUG_stat;
|
||||
|
||||
extern int LispWindowFd;
|
||||
extern struct pixrect *CursorBitMap, *InvisibleCursorBitMap;
|
||||
extern struct cursor CurrentCursor, InvisibleCursor;
|
||||
@@ -327,7 +324,6 @@ LispPTR vmem_save(char *sysout_file_name)
|
||||
int vmemsize; /* VMEMSIZE */
|
||||
register int i;
|
||||
char tempname[MAXPATHLEN];
|
||||
/* * * struct statfs fsbuf; * * */
|
||||
char *cp;
|
||||
register int rval;
|
||||
DLword *bmptr;
|
||||
|
||||
Reference in New Issue
Block a user