diff --git a/include/cammy/sram.h b/include/cammy/sram.h index d38edb6..1ed2310 100644 --- a/include/cammy/sram.h +++ b/include/cammy/sram.h @@ -21,6 +21,8 @@ typedef struct _cammy_sram_data { cammy_photo photos[CAMMY_SRAM_PHOTO_COUNT]; } cammy_sram_data; +#pragma pack(pop) + typedef struct _cammy_sram { int fd; @@ -31,8 +33,6 @@ typedef struct _cammy_sram { mapped_size; } cammy_sram; -#pragma pack(pop) - cammy_sram *cammy_sram_open(const char *file); void cammy_sram_close(cammy_sram *sram);