summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 0b070fa15..d0ca1ee56 100644
--- a/src/map.h
+++ b/src/map.h
@@ -31,6 +31,8 @@ typedef struct { /* memory mapped buffer */
#endif
} git_map;
+extern int validate_map_args(git_map *out, size_t len, int prot, int flags, int fd, git_off_t offset);
+
extern int p_mmap(git_map *out, size_t len, int prot, int flags, int fd, git_off_t offset);
extern int p_munmap(git_map *map);