summaryrefslogtreecommitdiff
path: root/misc/unix/start.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-03 19:45:36 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-03 19:45:36 +0000
commitc22cf7f831deced25759629459531df54eeeb6c0 (patch)
treef9f6fabaabe2287e4b70fe884966bc4edc0e5278 /misc/unix/start.c
parentcda27b2fd17c50d05e3f589fc31db462bc9d0b8f (diff)
downloadlibapr-c22cf7f831deced25759629459531df54eeeb6c0.tar.gz
Finish the APR naming cleanup. This removes the struct's from
apr_variable declarations. This works on Unix, but a test compile on other platforms would be a good idea. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59773 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc/unix/start.c')
-rw-r--r--misc/unix/start.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/misc/unix/start.c b/misc/unix/start.c
index 95b3a3d60..e8b4d63c9 100644
--- a/misc/unix/start.c
+++ b/misc/unix/start.c
@@ -64,9 +64,9 @@
* of it's parent context's attributes, except the ap_context_t will be a
* sub-pool.
*/
-ap_status_t ap_create_context(struct ap_context_t **newcont, struct ap_context_t *cont)
+ap_status_t ap_create_context(ap_context_t **newcont, ap_context_t *cont)
{
- struct ap_context_t *new;
+ ap_context_t *new;
ap_pool_t *pool;
if (cont) {
@@ -80,7 +80,7 @@ ap_status_t ap_create_context(struct ap_context_t **newcont, struct ap_context_t
return APR_ENOPOOL;
}
- new = (struct ap_context_t *)ap_palloc(cont, sizeof(struct ap_context_t));
+ new = (ap_context_t *)ap_palloc(cont, sizeof(ap_context_t));
new->pool = pool;
new->prog_data = NULL;
@@ -95,7 +95,7 @@ ap_status_t ap_create_context(struct ap_context_t **newcont, struct ap_context_t
* Free the context and all of it's child contexts'.
* arg 1) The context to free.
*/
-ap_status_t ap_destroy_context(struct ap_context_t *cont)
+ap_status_t ap_destroy_context(ap_context_t *cont)
{
ap_destroy_pool(cont);
return APR_SUCCESS;
@@ -121,7 +121,7 @@ ap_status_t ap_destroy_context(struct ap_context_t *cont)
*/
ap_status_t ap_set_userdata(void *data, char *key,
ap_status_t (*cleanup) (void *),
- struct ap_context_t *cont)
+ ap_context_t *cont)
{
datastruct *dptr = NULL, *dptr2 = NULL;
if (cont) {
@@ -158,7 +158,7 @@ ap_status_t ap_set_userdata(void *data, char *key,
* arg 2) The user data associated with the context.
* arg 3) The current context.
*/
-ap_status_t ap_get_userdata(void **data, char *key, struct ap_context_t *cont)
+ap_status_t ap_get_userdata(void **data, char *key, ap_context_t *cont)
{
datastruct *dptr = NULL;
if (cont) {
@@ -215,7 +215,7 @@ void ap_terminate(void)
* then APR will return an error and expect the calling program to
* deal with the error accordingly.
*/
-ap_status_t ap_set_abort(int (*apr_abort)(int retcode), struct ap_context_t *cont)
+ap_status_t ap_set_abort(int (*apr_abort)(int retcode), ap_context_t *cont)
{
if (cont == NULL) {
return APR_ENOCONT;