Commit ecb3e2d2 by Rudolf

fix header

parent 8575e4e0
Showing with 6 additions and 0 deletions
#ifndef _BIT_BUFFER_H_
#define _BIT_BUFFER_H_
#include <limits.h> #include <limits.h>
#include <stdio.h>
#define BYTE_BIT CHAR_BIT #define BYTE_BIT CHAR_BIT
typedef char byte; typedef char byte;
...@@ -17,3 +21,5 @@ void bb_write (struct BIT_BUFFER *buffer, int *bits, int size); ...@@ -17,3 +21,5 @@ void bb_write (struct BIT_BUFFER *buffer, int *bits, int size);
void bb_writebyte (struct BIT_BUFFER *buffer, byte byte); void bb_writebyte (struct BIT_BUFFER *buffer, byte byte);
int *bb_read (struct BIT_BUFFER *buffer, int size); int *bb_read (struct BIT_BUFFER *buffer, int size);
int *bb_readbyte (struct BIT_BUFFER *buffer); int *bb_readbyte (struct BIT_BUFFER *buffer);
#endif /* _BIT_BUFFER_H_ */
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