summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-08-05 17:53:21 +0000
committerNick Mathewson <nickm@torproject.org>2006-08-05 17:53:21 +0000
commit7c596c166b27e44aceb2906f343cd8b261824fda (patch)
tree055b691e965089cfd1c75dcb27c8abef1c004531 /src/common/compat.h
parentdbac3fb481add618ed92e0f7870053be9c695c09 (diff)
downloadtor-7c596c166b27e44aceb2906f343cd8b261824fda.tar.gz
tor-7c596c166b27e44aceb2906f343cd8b261824fda.zip
r7029@Kushana: nickm | 2006-08-04 14:08:41 -0700
Remove now-spurious size and data arguments from tor_mmap_file svn:r6987
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, ...)