mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
GLK: Remove unused functions.
This commit is contained in:
parent
b2acb5e461
commit
0cc497429d
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
{
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user