summaryrefslogtreecommitdiff
path: root/test/testmmap.c
diff options
context:
space:
mode:
authordougm <dougm@13f79535-47bb-0310-9956-ffa450edef68>2001-02-08 07:45:23 +0000
committerdougm <dougm@13f79535-47bb-0310-9956-ffa450edef68>2001-02-08 07:45:23 +0000
commitaba88e6ebce8d24a8ca387c28aabc9f17559a56c (patch)
tree136752321dd3e22c22463c9ab35a700ab0507729 /test/testmmap.c
parent482ce86a79d41d751123dcfcfc29f4098135c4b7 (diff)
downloadlibapr-aba88e6ebce8d24a8ca387c28aabc9f17559a56c.tar.gz
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testmmap.c')
-rw-r--r--test/testmmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testmmap.c b/test/testmmap.c
index f89c3cd22..d074a6992 100644
--- a/test/testmmap.c
+++ b/test/testmmap.c
@@ -97,7 +97,7 @@ int main(void)
atexit(closeapr);
fprintf(stdout,"Creating context....................");
- if (apr_create_pool(&context, NULL) != APR_SUCCESS) {
+ if (apr_pool_create(&context, NULL) != APR_SUCCESS) {
fprintf(stderr, "Failed.\n");
exit(-1);
}
@@ -108,7 +108,7 @@ int main(void)
strncat(file1,"/testmmap.c",11);
fprintf(stdout, "Opening file........................");
- rv = apr_open(&thefile, file1, flag, APR_UREAD | APR_GREAD, context);
+ rv = apr_file_open(&thefile, file1, flag, APR_UREAD | APR_GREAD, context);
if (rv != APR_SUCCESS) {
fprintf(stderr,
"couldn't open file `%s': %d/%s\n",
@@ -120,7 +120,7 @@ int main(void)
}
fprintf(stderr, "Getting file size...................");
- rv = apr_getfileinfo(&finfo, APR_FINFO_NORM, thefile);
+ rv = apr_file_info_get(&finfo, APR_FINFO_NORM, thefile);
if (rv != APR_SUCCESS) {
fprintf(stderr,
"Didn't get file information: %d/%s\n",