summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5.c b/src/H5.c
index c810f99..e409489 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -121,17 +121,17 @@ herr_t
H5_add_exit(void (*func) (void))
{
herr_t ret_value = SUCCEED;
- H5_exit_t *new;
+ H5_exit_t *new_exit;
FUNC_ENTER_INIT(H5_add_exit, NULL, FAIL);
assert(func);
- new = H5MM_xcalloc(1, sizeof(H5_exit_t));
+ new_exit = H5MM_xcalloc(1, sizeof(H5_exit_t));
- new->func = func;
- new->next = lib_exit_head;
- lib_exit_head = new;
+ new_exit->func = func;
+ new_exit->next = lib_exit_head;
+ lib_exit_head = new_exit;
FUNC_LEAVE(ret_value);
} /* end H5_add_exit() */