remove util_alloc.c
[mech_eap.git] / util.h
diff --git a/util.h b/util.h
index 7d47e98..58a4941 100644 (file)
--- 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");                 \