diff options
author | manoj <manoj@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-21 05:13:10 +0000 |
---|---|---|
committer | manoj <manoj@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-21 05:13:10 +0000 |
commit | f2fe5040f7279ab6794fa8681dbc7baa5aeebd69 (patch) | |
tree | 33e2d3b0820a7f772560aa361767216441d54d0f /include | |
parent | 0d03e7ae78e75004b1bb51fb416452e4066b876a (diff) | |
download | libapr-f2fe5040f7279ab6794fa8681dbc7baa5aeebd69.tar.gz |
Since cleanups return an APR status, ap_run_cleanup should too.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60075 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/apr_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/apr_lib.h b/include/apr_lib.h index 64d6d7323..60daf956f 100644 --- a/include/apr_lib.h +++ b/include/apr_lib.h @@ -341,7 +341,7 @@ API_EXPORT(void) ap_register_cleanup(struct ap_pool_t *p, void *data, ap_status_t (*child_cleanup) (void *)); API_EXPORT(void) ap_kill_cleanup(struct ap_pool_t *p, void *data, ap_status_t (*cleanup) (void *)); -API_EXPORT(void) ap_run_cleanup(struct ap_pool_t *p, void *data, +API_EXPORT(ap_status_t) ap_run_cleanup(struct ap_pool_t *p, void *data, ap_status_t (*cleanup) (void *)); API_EXPORT(void) ap_cleanup_for_exec(void); API_EXPORT(ap_status_t) ap_getpass(const char *prompt, char *pwbuf, size_t *bufsize); |