Use common-static.h

This commit is contained in:
angt
2015-10-24 15:59:52 +02:00
parent b3647c507a
commit 4b5c774593
3 changed files with 1 additions and 123 deletions

View File

@@ -68,15 +68,6 @@ static inline size_t str_len (const char *restrict str)
return i;
}
typedef struct buffer buffer_t;
struct buffer {
uint8_t *data;
uint8_t *read;
uint8_t *write;
uint8_t *end;
};
static inline void buffer_setup (buffer_t *buffer, void *data, size_t size)
{
if (!data)