summaryrefslogtreecommitdiff
path: root/file_io/os2/open.c
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2000-03-03 14:57:00 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2000-03-03 14:57:00 +0000
commit7c33209c5ed84e8d7abbb7f2614986c9b6e21359 (patch)
tree9ab6b2aee87852d29a2cb77dfdf5302ac6587b01 /file_io/os2/open.c
parent12ea9777f89499f602effb2e7ee19f8da2c60b2a (diff)
downloadlibapr-7c33209c5ed84e8d7abbb7f2614986c9b6e21359.tar.gz
OS/2: file_cleanup() should be namespace protected as it's not static.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59683 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/os2/open.c')
-rw-r--r--file_io/os2/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file_io/os2/open.c b/file_io/os2/open.c
index 4e102eccd..8f7f2090d 100644
--- a/file_io/os2/open.c
+++ b/file_io/os2/open.c
@@ -62,7 +62,7 @@
#define INCL_DOS
#include <os2.h>
-ap_status_t file_cleanup(void *thefile)
+ap_status_t apr_file_cleanup(void *thefile)
{
struct file_t *file = thefile;
return ap_close(file);
@@ -140,7 +140,7 @@ ap_status_t ap_open(struct file_t **new, const char *fname, ap_int32_t flag, ap
if (dafile->buffered)
dafile->buffer = ap_palloc(cntxt, APR_FILE_BUFSIZE);
- ap_register_cleanup(dafile->cntxt, dafile, file_cleanup, ap_null_cleanup);
+ ap_register_cleanup(dafile->cntxt, dafile, apr_file_cleanup, ap_null_cleanup);
return APR_SUCCESS;
}