Skip to content

Commit

Permalink
avoid implicit function usage
Browse files Browse the repository at this point in the history
Ensure functions are declared before they are used.
  • Loading branch information
crorvick committed Sep 10, 2016
1 parent b08ebdb commit f4dfdab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jpeg-6b-steg/jcdctmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ typedef struct {

typedef my_fdct_controller * my_fdct_ptr;

short steg_use_bit (unsigned short temp);


/*
* Initialize for a processing pass.
Expand Down
2 changes: 2 additions & 0 deletions jpeg-6b-steg/jdcoefct.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ METHODDEF(int) decompress_smooth_data
JPP((j_decompress_ptr cinfo, JSAMPIMAGE output_buf));
#endif

short steg_use_bit (unsigned short temp);


LOCAL(void)
start_iMCU_row (j_decompress_ptr cinfo)
Expand Down
1 change: 1 addition & 0 deletions missing/md5.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#endif

#include "md5.h"
#include <string.h>

/* Little-endian byte-swapping routines. Note that these do not
depend on the size of datatypes such as uint32, nor do they require
Expand Down

0 comments on commit f4dfdab

Please sign in to comment.