summaryrefslogtreecommitdiff
path: root/mmap/unix
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 /mmap/unix
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 'mmap/unix')
-rw-r--r--mmap/unix/mmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mmap/unix/mmap.c b/mmap/unix/mmap.c
index 3cfcda7b3..8ac7abdc0 100644
--- a/mmap/unix/mmap.c
+++ b/mmap/unix/mmap.c
@@ -64,7 +64,7 @@
ap_status_t mmap_cleanup(void *themmap)
{
- struct ap_mmap_t *mm = themmap;
+ ap_mmap_t *mm = themmap;
int rv;
rv = munmap(mm->mm, mm->size);
@@ -93,7 +93,7 @@ ap_status_t ap_mmap_create(ap_mmap_t **new, ap_file_t *file, ap_off_t offset,
if (file == NULL || file->buffered || file->filedes == -1)
return APR_EBADF;
- (*new) = (struct ap_mmap_t *)ap_palloc(cont, sizeof(struct ap_mmap_t));
+ (*new) = (ap_mmap_t *)ap_palloc(cont, sizeof(ap_mmap_t));
ap_seek(file, APR_SET, &offset);
mm = mmap(NULL, size, PROT_READ, MAP_SHARED, file->filedes ,0);
@@ -117,7 +117,7 @@ ap_status_t ap_mmap_create(ap_mmap_t **new, ap_file_t *file, ap_off_t offset,
* Remove a mmap'ed.
* arg 1) The mmap'ed file.
*/
-ap_status_t ap_mmap_delete(struct ap_mmap_t *mmap)
+ap_status_t ap_mmap_delete(ap_mmap_t *mmap)
{
ap_status_t rv;