summaryrefslogtreecommitdiffstats
path: root/src/H5detect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5detect.c')
-rw-r--r--src/H5detect.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index d4cb4f0..cbb3d1a 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -395,11 +395,16 @@ print_results(int nd, detected_t *d)
#include <H5private.h>\n\
#include <H5Iprivate.h>\n\
#include <H5Eprivate.h>\n\
+#include <H5FLprivate.h>\n\
#include <H5MMprivate.h>\n\
#include <H5Tpkg.h>\n\
\n\
static intn interface_initialize_g = 0;\n\
#define INTERFACE_INIT NULL\n\
+\n\
+/* Declare external the free list for H5T_t's */\n\
+H5FL_EXTERN(H5T_t);\n\
+\n\
\n");
/* The interface termination function */
@@ -429,7 +434,7 @@ H5TN_init_interface(void)\n\
/* The part common to fixed and floating types */
printf("\
- if (NULL==(dt = H5MM_calloc (sizeof(H5T_t)))) {\n\
+ if (NULL==(dt = H5FL_ALLOC (H5T_t,1))) {\n\
HRETURN_ERROR (H5E_RESOURCE, H5E_NOSPACE, FAIL,\n\
\"memory allocation failed\");\n\
}\n\