diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-06-02 03:52:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-06-02 03:52:21 +0000 |
commit | 4990e7aa1240908bdb1c35d5ac3b6e87df72ecba (patch) | |
tree | d82abfa351fe0c8bc3acc41a3cf21fb36a95a9ad /test-mmap.c | |
parent | 6f24925883011358e8066243d12a7a80d9cdd71b (diff) | |
download | mandoc-4990e7aa1240908bdb1c35d5ac3b6e87df72ecba.tar.gz |
Sync to OpenBSD, no functional change:
* Add the missing mparse_parse_buffer prototype.
* Drop the useless MAP_FILE constant: It's not specified in POSIX,
so it's not required, it's the default anyway, and it's 0 anyway.
Diffstat (limited to 'test-mmap.c')
-rw-r--r-- | test-mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-mmap.c b/test-mmap.c index db8fd873..1e0f9422 100644 --- a/test-mmap.c +++ b/test-mmap.c @@ -5,6 +5,6 @@ int main(int argc, char **argv) { - mmap(0, 0, PROT_READ, MAP_FILE|MAP_SHARED, -1, 0); + mmap(0, 0, PROT_READ, MAP_SHARED, -1, 0); return 0; } |