Move variables around
This commit is contained in:
parent
4a1f593689
commit
8fd94e4aab
|
@ -62,6 +62,13 @@ struct save_state_buf
|
||||||
size_t size;
|
size_t size;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct sram_block
|
||||||
|
{
|
||||||
|
unsigned type;
|
||||||
|
void *data;
|
||||||
|
size_t size;
|
||||||
|
};
|
||||||
|
|
||||||
/* Holds the previous saved state
|
/* Holds the previous saved state
|
||||||
* Can be restored to disk with undo_save_state(). */
|
* Can be restored to disk with undo_save_state(). */
|
||||||
static struct save_state_buf undo_save_buf;
|
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(). */
|
* Can be restored with undo_load_state(). */
|
||||||
static struct save_state_buf undo_load_buf;
|
static struct save_state_buf undo_load_buf;
|
||||||
|
|
||||||
struct sram_block
|
|
||||||
{
|
|
||||||
unsigned type;
|
|
||||||
void *data;
|
|
||||||
size_t size;
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
typedef struct autosave autosave_t;
|
typedef struct autosave autosave_t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue