]> git.lyx.org Git - lyx.git/blob - src/support/atexit.c
Fixed the tth HTML export feature.
[lyx.git] / src / support / atexit.c
1 /* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */
2 /* This function is in the public domain.  --Mike Stump. */
3
4 #ifndef NEED_on_exit
5 int atexit(void (*f)())
6 {
7   /* If the system doesn't provide a definition for atexit, use on_exit
8      if the system provides that.  */
9   on_exit (f, 0);
10   return 0;
11 }
12 #endif