summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index b842218f75..1b96c1a5c2 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -120,8 +120,7 @@ typedef struct tor_mmap_t {
size_t size;
} tor_mmap_t;
-tor_mmap_t *tor_mmap_file(const char *filename,
- const char **data, size_t *size);
+tor_mmap_t *tor_mmap_file(const char *filename);
void tor_munmap_file(tor_mmap_t *handle);
int tor_snprintf(char *str, size_t size, const char *format, ...)