Hi This series starts with dropping two small unused parts, and then has a big third patch moving all globals to properly use extern.
The third patch will make it easier to remove unused global variables, and in general nicer globals. In particular I'm going to remove the duplicated data later (const data such as the HTTP strings is embedded in the binary, and then loaded to dynamic memory too at runtime - this is a waste, they should be properly initialized const mk_pointers and so only take up the binary space, not twice that by wasting heap RAM too). - Lauri
>From 29727c52958b287e0f9e1acd97b9e6ac0541c2d0 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Mon, 18 Jun 2012 19:21:45 +0300 Subject: [PATCH 1/3] cache: Remove unused define Signed-off-by: Lauri Kasanen <[email protected]> --- src/include/mk_cache.h | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/include/mk_cache.h b/src/include/mk_cache.h index dedd05b..510a55d 100644 --- a/src/include/mk_cache.h +++ b/src/include/mk_cache.h @@ -22,9 +22,6 @@ #ifndef MK_CACHE_H #define MK_CACHE_H -#define MK_KNOWN_HEADERS 11 /* Number of different headers that - * Monkey knows about - */ pthread_key_t mk_cache_iov_header; pthread_key_t mk_cache_header_lm; pthread_key_t mk_cache_header_cl; -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
