Skip to content

Commit

Permalink
Merge pull request #168 from yohan-marchiset/fix_oldstyle
Browse files Browse the repository at this point in the history
Fix old style declaration warning for static function
  • Loading branch information
PJK committed Oct 30, 2020
2 parents 6102f62 + 7e1911c commit 14abd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cbor/streaming.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "streaming.h"
#include "internal/loaders.h"

bool static claim_bytes(size_t required, size_t provided,
static bool claim_bytes(size_t required, size_t provided,
struct cbor_decoder_result *result) {
if (required > (provided - result->read)) {
result->required = required + result->read;
Expand Down

0 comments on commit 14abd14

Please sign in to comment.