From afe578cd8894b9a6cd6c6b65e552448536f02dce Mon Sep 17 00:00:00 2001 From: shankar Date: Thu, 1 Apr 2010 14:07:15 +0000 Subject: Refactor, adding comments, improving performance git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@929982 13f79535-47bb-0310-9956-ffa450edef68 --- util/include/axutil_utils.h | 4 ++++ util/src/qname.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'util') diff --git a/util/include/axutil_utils.h b/util/include/axutil_utils.h index 8c156d1..1cef523 100644 --- a/util/include/axutil_utils.h +++ b/util/include/axutil_utils.h @@ -24,6 +24,7 @@ #include #include #include +#include #ifdef __cplusplus extern "C" @@ -43,6 +44,9 @@ extern "C" #define AXUTIL_LOG_FILE_SIZE 1024 * 1024 * 32 #define AXUTIL_LOG_FILE_NAME_SIZE 512 + +#define AXIS2_ASSERT assert + /** This macro is called to check whether structure on which function is called * is NULL and to check whether the environment structure passed is valid. * @param object structure on which function is called diff --git a/util/src/qname.c b/util/src/qname.c index e4197c3..49b2069 100644 --- a/util/src/qname.c +++ b/util/src/qname.c @@ -119,7 +119,6 @@ axutil_qname_free( axutil_qname_t *qname, const axutil_env_t *env) { - AXIS2_ENV_CHECK(env, AXIS2_FAILURE); qname->ref--; -- cgit v1.1-32-gdbae