GLK: Remove unused functions.

This commit is contained in:
Fiodar Stryzhniou 2021-06-26 12:18:46 +03:00 committed by Cameron Cawley
parent b2acb5e461
commit 0cc497429d
4 changed files with 0 additions and 21 deletions

View File

@ -952,7 +952,6 @@ void agx_create(fc_type fc);
void write_descr(descr_ptr *dp, descr_line *txt);
void agx_write(void);
void agx_wclose(void);
void agx_wabort(void);
/* ------------------------------------------------------------------- */
/* In AUXFILE.C */
@ -1126,7 +1125,6 @@ void buffclose(void); /* Close the current file */
void bw_open(fc_type fc, filetype ext); /* Open buffered file for writing */
void bw_close(void); /* Close buffered file */
void bw_abort(void); /* Close and delete buffered file */
/* "Universal" file routines */
extern const size_t ft_leng[FT_COUNT]; /* File lengths of the data types */
@ -1199,7 +1197,6 @@ rbool filevalid(genfile f, filetype ft);
void readclose(genfile f);
void writeclose(genfile f, file_id_type fileid);
void binremove(genfile f, file_id_type fileid);
void binseek(genfile f, long offset);
rbool binread(genfile f, void *buff, long recsize, long recnum, const char **errstr);
long varread(genfile f, void *buff, long recsize, long recnum, const char **errstr);

View File

@ -1473,11 +1473,5 @@ void agx_wclose(void) {
rfree(gindex);
}
void agx_wabort(void) {
bw_abort();
rfree(gindex);
}
} // End of namespace AGT
} // End of namespace Glk

View File

@ -514,14 +514,6 @@ void writeclose(genfile f, file_id_type fileid) {
fclose(f);
}
void binremove(genfile f, file_id_type fileid) {
assert(f != NULL);
assert(fileid != NULL);
fclose(f);
remove((char *)fileid);
rfree(fileid);
}
long binsize(genfile f)
/* Returns the size of a binary file */
{

View File

@ -781,10 +781,6 @@ void bw_close(void) {
writeclose(bfile, bw_fileid);
}
void bw_abort(void) {
binremove(bfile, bw_fileid);
}
/*-------------------------------------------------------------------------*/
/* Block reading and writing code and support for internal buffers */