projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fpurge: Sharper test.
[gnulib.git]
/
tests
/
test-atexit.c
diff --git
a/tests/test-atexit.c
b/tests/test-atexit.c
index
883b056
..
08d1ed9
100644
(file)
--- a/
tests/test-atexit.c
+++ b/
tests/test-atexit.c
@@
-1,5
+1,5
@@
/* Test of execution of program termination handlers.
/* Test of execution of program termination handlers.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007
, 2009, 2010
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-19,12
+19,16
@@
#include <config.h>
#include <stdlib.h>
#include <config.h>
#include <stdlib.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (atexit, int, (void (*) (void)));
+
#include <unistd.h>
#define TEMPFILE "t-atexit.tmp"
static void
#include <unistd.h>
#define TEMPFILE "t-atexit.tmp"
static void
-clear_temp_file ()
+clear_temp_file (
void
)
{
unlink (TEMPFILE);
}
{
unlink (TEMPFILE);
}