diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-06-08 04:49:50 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-06-08 04:49:50 +0000 |
commit | a499339ccb307617c1b0ad5723943a2cb52692fc (patch) | |
tree | 3a8fe76653bb56eb9032a064b54d08479b07028d /test/testproc.c | |
parent | f0cb8f075c5c3091fb7d733b0292ed37059958c0 (diff) | |
download | apr-a499339ccb307617c1b0ad5723943a2cb52692fc.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: https://svn.apache.org/repos/asf/apr/apr/trunk@61735 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testproc.c')
-rw-r--r-- | test/testproc.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/testproc.c b/test/testproc.c index f27e88297..a5edf8211 100644 --- a/test/testproc.c +++ b/test/testproc.c @@ -70,11 +70,6 @@ int test_filedel(void); int testdirs(void); -static void closeapr(void) -{ - apr_terminate(); -} - int main(int argc, char *argv[]) { apr_pool_t *pool; @@ -90,7 +85,7 @@ int main(int argc, char *argv[]) printf("Failed to initialize APR\n"); exit(-1); } - atexit(closeapr); + atexit(apr_terminate); apr_pool_create(&pool, NULL); if (argc > 1) { |