From 3c8abc1921c51b654dace98002bdf7ed49f7489c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 20 May 2013 10:36:39 +0200 Subject: Add send_all() function to reduce duplicate code --- src/fastd.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/fastd.h') diff --git a/src/fastd.h b/src/fastd.h index 2a4e9ac..4ce5bb4 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -378,8 +378,6 @@ static inline size_t alignto(size_t l, size_t a) { return ((l+a-1)/a)*a; } -#define FASTD_BUFFER_NULL ((fastd_buffer_t){}) - static inline fastd_buffer_t fastd_buffer_alloc(const fastd_context_t *ctx, size_t len, size_t head_space, size_t tail_space) { size_t base_len = head_space+len+tail_space; void *ptr; -- cgit v1.2.3