summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 15:18:01 (GMT)
committerGitHub <noreply@github.com>2023-06-29 15:18:01 (GMT)
commit9f430d15b004495d17826840ef1a4f281215c7f9 (patch)
treeeddd0bd281a80adb336403582bd236c6a24b0dc6 /src/H5.c
parenta5f1fb01b9ef867cf94158cdb42ffb1d46bae916 (diff)
downloadhdf5-9f430d15b004495d17826840ef1a4f281215c7f9.zip
hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.gz
hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.bz2
Rename HDexit() and related to exit(), etc. (#3202)
* HDatexit * HDexit * HD_exit
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5.c b/src/H5.c
index cfc106d..87a87ea 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -218,11 +218,11 @@ H5_init_library(void)
* This must be entered before the library cleanup code so it's
* executed in LIFO order (i.e., last).
*/
- (void)HDatexit(H5TS_win32_process_exit);
+ (void)atexit(H5TS_win32_process_exit);
#endif /* H5_HAVE_THREADSAFE && H5_HAVE_WIN_THREADS */
/* Normal library termination code */
- (void)HDatexit(H5_term_library);
+ (void)atexit(H5_term_library);
H5_dont_atexit_g = TRUE;
} /* end if */