From a94748ec6da9bdc6e25a7f73bbea723b8b55fa33 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Mon, 16 Nov 2009 02:53:57 -0800 Subject: rename CEIL as DIV_ROUND_UP Improves the name of this macro, moves it to types.h, and adds a block of Doxygen comments to describe what it does. --- src/helper/binarybuffer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/helper/binarybuffer.h') diff --git a/src/helper/binarybuffer.h b/src/helper/binarybuffer.h index 9e0cc9b7..460d0178 100644 --- a/src/helper/binarybuffer.h +++ b/src/helper/binarybuffer.h @@ -124,8 +124,6 @@ int str_to_buf(const char *str, unsigned len, void *bin_buf, unsigned buf_size, unsigned radix); char* buf_to_str(const void *buf, unsigned size, unsigned radix); -#define CEIL(m, n) (((m) + (n) - 1) / (n)) - /* read a uint32_t from a buffer in target memory endianness */ static inline uint32_t fast_target_buffer_get_u32(const void *p, bool le) { -- cgit v1.2.3