Skip to content

Commit

Permalink
fpga_compress: no previous prototype warning
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed Oct 26, 2019
1 parent c6220dc commit 5ef4d6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/fpga_compress/fpga_compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit 5ef4d6d

Please sign in to comment.