diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2001-06-08 04:49:50 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2001-06-08 04:49:50 +0000 |
commit | 3755dfd612bd20f9d3d82c8a9a4da3b9bbff769b (patch) | |
tree | 3a8fe76653bb56eb9032a064b54d08479b07028d /test/testipsub.c | |
parent | 08d8fb423db4b95cd75fd830320a84445d915a68 (diff) | |
download | libapr-3755dfd612bd20f9d3d82c8a9a4da3b9bbff769b.tar.gz |
These are (thankfully) now irrelevant stubs. apr_terminate is defined
as _always_ compatible with atexit. A nice mindless exercise for my
very sleep-deprived brain.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61735 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testipsub.c')
-rw-r--r-- | test/testipsub.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/testipsub.c b/test/testipsub.c index 3390d9aab..68510167f 100644 --- a/test/testipsub.c +++ b/test/testipsub.c @@ -59,11 +59,6 @@ #include "apr_network_io.h" #include "apr_errno.h" -static void closeapr(void) -{ - apr_terminate(); -} - static void test_bad_input(apr_pool_t *p) { struct { @@ -202,7 +197,7 @@ int main(void) exit(1); } - atexit(closeapr); + atexit(apr_terminate); rv = apr_pool_create(&p, NULL); if (rv != APR_SUCCESS) { |