Fix error: multiple definition of `disctype'; CMakeFiles/friidumplib.dir/disc.c.o:(.bss+0x0): first defined here

collect2: error: ld returned 1 exit status

https://github.com/bradenmcd/friidump/issues/10
This commit is contained in:
Michael Henke 2023-01-27 15:54:07 -08:00
parent d9461a9401
commit 8160dc371e
2 changed files with 2 additions and 3 deletions

View file

@ -31,8 +31,6 @@ typedef struct unscrambler_s unscrambler;
the progress function the same format we use elsewhere */
typedef void (*unscrambler_progress_func) (bool start, u_int32_t current_sector, u_int32_t total_sectors, void *progress_data);
u_int8_t disctype;
FRIIDUMPLIB_EXPORT unscrambler *unscrambler_new (void);
FRIIDUMPLIB_EXPORT void *unscrambler_destroy (unscrambler *u);
FRIIDUMPLIB_EXPORT bool unscrambler_unscramble_16sectors (unscrambler *u, u_int32_t sector_no, u_int8_t *inbuf, u_int8_t *outbuf);