Move variables around

This commit is contained in:
twinaphex 2016-09-23 02:48:10 +02:00
parent 4a1f593689
commit 8fd94e4aab

View File

@ -62,6 +62,13 @@ struct save_state_buf
size_t size;
};
struct sram_block
{
unsigned type;
void *data;
size_t size;
};
/* Holds the previous saved state
* Can be restored to disk with undo_save_state(). */
static struct save_state_buf undo_save_buf;
@ -70,13 +77,6 @@ static struct save_state_buf undo_save_buf;
* Can be restored with undo_load_state(). */
static struct save_state_buf undo_load_buf;
struct sram_block
{
unsigned type;
void *data;
size_t size;
};
#ifdef HAVE_THREADS
typedef struct autosave autosave_t;