mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-12 10:16:52 +08:00
fpga_compress: no previous prototype warning
This commit is contained in:
parent
c6220dc7be
commit
5ef4d6dbbb
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ static bool all_feof(FILE *infile[], uint8_t num_infiles) {
|
|||
}
|
||||
|
||||
|
||||
int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile, bool hardnested_mode) {
|
||||
static int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile, bool hardnested_mode) {
|
||||
uint8_t *fpga_config;
|
||||
uint32_t i;
|
||||
int32_t ret;
|
||||
|
@ -184,7 +184,7 @@ int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile, bool hardn
|
|||
}
|
||||
|
||||
|
||||
int zlib_decompress(FILE *infile, FILE *outfile) {
|
||||
static int zlib_decompress(FILE *infile, FILE *outfile) {
|
||||
#define DECOMPRESS_BUF_SIZE 1024
|
||||
uint8_t outbuf[DECOMPRESS_BUF_SIZE];
|
||||
uint8_t inbuf[DECOMPRESS_BUF_SIZE];
|
||||
|
|
Loading…
Reference in a new issue