projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
error.c, md5.c, regex.c: Use '#if USE_UNLOCKED_IO' instead of
[gnulib.git]
/
lib
/
atexit.c
diff --git
a/lib/atexit.c
b/lib/atexit.c
index
137d985
..
a401b2f
100644
(file)
--- a/
lib/atexit.c
+++ b/
lib/atexit.c
@@
-3,16
+3,11
@@
#include "config.h"
-#ifdef HAVE_ON_EXIT
-
int
-atexit(f)
- void (*f)();
+atexit (void (*f) (void))
{
/* If the system doesn't provide a definition for atexit, use on_exit
if the system provides that. */
on_exit (f, 0);
return 0;
}
-
-#endif