summaryrefslogtreecommitdiff
path: root/mmap/unix
diff options
context:
space:
mode:
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;