summaryrefslogtreecommitdiff
path: root/lib/atexit.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-10 08:27:55 +0000
committerJim Meyering <jim@meyering.net>2003-09-10 08:27:55 +0000
commit02889673a1e6864e27558954f32d8759a860b43c (patch)
treedb3493696e998a2460eb990fdb9bc3d49dab49bd /lib/atexit.c
parenta76d1c83c1daf675e818d54dd9c3f5a298515f52 (diff)
downloadcoreutils-02889673a1e6864e27558954f32d8759a860b43c.tar.xz
(atexit): Define using a prototype.
Diffstat (limited to 'lib/atexit.c')
-rw-r--r--lib/atexit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/atexit.c b/lib/atexit.c
index 85e992f72..a401b2ff8 100644
--- a/lib/atexit.c
+++ b/lib/atexit.c
@@ -4,8 +4,7 @@
#include "config.h"
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. */