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 | e8e61026ee843cd18956b5932414c606fa85390c (patch) | |
tree | 0f8ac032ad659fe8cdbd0394a22387f7c37b8fff /test-mmap.c | |
parent | a9b16812c6c127416d84f1714ec937066b0a77fb (diff) | |
download | mandoc-e8e61026ee843cd18956b5932414c606fa85390c.tar.gz mandoc-e8e61026ee843cd18956b5932414c606fa85390c.tar.zst mandoc-e8e61026ee843cd18956b5932414c606fa85390c.zip |
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; } |