1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-13 12:40:47 +00:00

Move implementation file_archive_file_data to archive_file.c

This commit is contained in:
twinaphex 2016-09-19 18:26:16 +02:00
parent fb26f3bbb7
commit 871621fdfa
2 changed files with 10 additions and 8 deletions
libretro-common

@ -47,6 +47,15 @@
#include <lists/string_list.h>
#include <string/stdstring.h>
struct file_archive_file_data
{
#ifdef HAVE_MMAP
int fd;
#endif
void *data;
size_t size;
};
#ifdef HAVE_MMAP
/* Closes, unmaps and frees. */
void file_archive_free(file_archive_file_data_t *data)

@ -46,14 +46,7 @@ typedef struct file_archive_handle
const struct file_archive_file_backend *backend;
} file_archive_file_handle_t;
typedef struct
{
#ifdef HAVE_MMAP
int fd;
#endif
void *data;
size_t size;
} file_archive_file_data_t;
typedef struct file_archive_file_data file_archive_file_data_t;
typedef struct file_archive_transfer
{