X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=blobdiff_plain;f=util.h;h=58a4941f28a3f6cb0ebee44aef9ff531ed75469c;hp=7d47e98b66523c67b5b248e47ef8869d21931ea7;hb=26ca006e95e900ea1762d0c08ea68533bf954de5;hpb=286f1e40afb47a22d087698c4ab1222c018debe9 diff --git a/util.h b/util.h index 7d47e98..58a4941 100644 --- a/util.h +++ b/util.h @@ -95,19 +95,6 @@ enum gss_eap_token_type { #define EAP_EXPORT_CONTEXT_V1 1 -/* util_alloc.c */ -void * -gssEapCalloc(size_t nmemb, size_t size); - -void * -gssEapMalloc(size_t size); - -void -gssEapFree(void *ptr); - -void * -gssEapRealloc(void *ptr, size_t size); - /* util_buffer.c */ OM_uint32 makeStringBuffer(OM_uint32 *minor, @@ -430,10 +417,10 @@ verifyTokenHeader(OM_uint32 *minor, /* Helper macros */ -#define GSSEAP_CALLOC(count, size) (gssEapCalloc((count), (size))) -#define GSSEAP_MALLOC(size) (gssEapMalloc((size))) -#define GSSEAP_FREE(ptr) (gssEapFree((ptr))) -#define GSSEAP_REALLOC(ptr, size) (gssEapRealloc((ptr), (size))) +#define GSSEAP_CALLOC calloc +#define GSSEAP_MALLOC malloc +#define GSSEAP_FREE free +#define GSSEAP_REALLOC realloc #define GSSEAP_NOT_IMPLEMENTED do { \ assert(0 && "not implemented"); \