From cc53bdc6dc8918258e51c011f91125a1403849d3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 9 Mar 2009 18:44:16 -0700 Subject: http11: remove unnecessary CPP definitions --- ext/unicorn/http11/http11.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'ext/unicorn/http11/http11.c') diff --git a/ext/unicorn/http11/http11.c b/ext/unicorn/http11/http11.c index 82982e7..bd22274 100644 --- a/ext/unicorn/http11/http11.c +++ b/ext/unicorn/http11/http11.c @@ -19,7 +19,6 @@ static VALUE mUnicorn; static VALUE cHttpParser; static VALUE eHttpParserError; -#define id_handler_map rb_intern("@handler_map") #define HTTP_PREFIX "HTTP_" #define HTTP_PREFIX_LEN (sizeof(HTTP_PREFIX) - 1) @@ -44,8 +43,6 @@ static VALUE global_http_host; static VALUE global_port_80; static VALUE global_localhost; -#define TRIE_INCREASE 30 - /** Defines common length and error messages for input length validation. */ #define DEF_MAX_LENGTH(N,length) const size_t MAX_##N##_LENGTH = length; const char *MAX_##N##_LENGTH_ERR = "HTTP element " # N " is longer than the " # length " allowed length." -- cgit v1.2.3-24-ge0c7