summaryrefslogtreecommitdiff
path: root/misc/os2
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>1999-10-04 16:37:48 +0000
committerRyan Bloom <rbb@apache.org>1999-10-04 16:37:48 +0000
commit8a0633b4c9f2e1c8897855027cee55e0b12bf833 (patch)
treecc3bddffac57af165a495dc1e60091d9635ba19e /misc/os2
parentc8b99c137ce0c20a37df392d9ee466877a5eb28a (diff)
downloadapr-8a0633b4c9f2e1c8897855027cee55e0b12bf833.tar.gz
First patch to re-order function parameters. This one gets the low hanging
fruit, and moves most of the result parameters to the first argument. Future patches in this series will move the rest of the result parameters to the beginning of the list, and will move the context's to the end of the list git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59259 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc/os2')
-rw-r--r--misc/os2/start.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/os2/start.c b/misc/os2/start.c
index 00ad1f9a5..ad980bcaa 100644
--- a/misc/os2/start.c
+++ b/misc/os2/start.c
@@ -60,7 +60,7 @@
#include <errno.h>
#include <string.h>
-ap_status_t ap_create_context(struct context_t *cont, void *data, ap_context_t **newcont)
+ap_status_t ap_create_context(ap_context_t **newcont, struct context_t *cont, void *data)
{
struct context_t *new;
ap_pool_t *pool;
@@ -117,12 +117,12 @@ ap_status_t ap_set_userdata(struct context_t *cont, void *data)
}
/* ***APRDOC********************************************************
- * ap_status_t ap_get_userdata(ap_context_t *, void **)
+ * ap_status_t ap_get_userdata(void **, ap_context_t *)
* Return the data associated with the current context.
* arg 1) The current context.
* arg 2) The user data associated with the context.
*/
-ap_status_t ap_get_userdata(struct context_t *cont, void **data)
+ap_status_t ap_get_userdata(void **data, struct context_t *cont)
{
if (cont) {
(*data) = cont->prog_data;