HDFGroup / hdf4

Official HDF4 Library Repository
Other
14 stars 25 forks source link

Rework atexit handling code #663

Closed derobins closed 7 months ago

derobins commented 7 months ago

Allows removal of over-engineered glist code that can't even be used since function pointers aren't pedantically void pointers.

derobins commented 7 months ago

I'll probably move the code to separate hfile_atexit.c/h files in a future PR, but this at least gets rid of the -pedantic complaints about storing function pointers in void pointers.