Commit 619a665a by Rudolf

Return from int functions

Not really needed but for consistency's sake
parent 6457da18
Showing with 3 additions and 0 deletions
......@@ -26,6 +26,7 @@ static int write_entries(struct BIT_BUFFER *bitbuf, struct tree *parent)
//bb_write(bitbuf, &bit, 1);
bb_writebyte(bitbuf, parent->right->ch);
}
return 0;
}
int encode_header(struct BIT_BUFFER *bitbuf, struct tree *parent)
......@@ -62,6 +63,7 @@ static int read_entries(struct BIT_BUFFER *bitbuf, struct tree *parent)
}
free(bit);
return 0;
}
int decode_header(struct BIT_BUFFER *bitbuf, struct tree *parent)
......
......@@ -108,6 +108,7 @@ static int write_entry(struct BIT_BUFFER *bitbuf, struct tree *parent, char c)
parent = left;
}
return 0;
}
int encode_tree(struct BIT_BUFFER *bitbuf, struct tree *parent, char *buf,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment