# netbsd: use versioned \_\_msync13 from libc · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/599b3ef9e947f044799d11aecf0dfe659f9a7728)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 599b3ef9e947f044799d11aecf0dfe659f9a7728

Requested commit: 599b3ef9e947f044799d11aecf0dfe659f9a7728

Commit: 599b3ef9e947f044799d11aecf0dfe659f9a7728

Tree: 31399068174f1e2b7a75cbf9e98dfbef6df5c391

Author: Michael Dusan

Committer: Andrew Kelley

## Message

```
netbsd: use versioned __msync13 from libc

The system linker shows warning when `msync` is linked instead of `__msync13`:

  "warning: reference to compatibility msync(); include <sys/mman.h> for correct reference"

closes #14422

```

## Parents

- [2b27bc2c65195a82e96995669314a86c76203a3e](https://git.cafe/gitcafe/zig/commit/2b27bc2c65195a82e96995669314a86c76203a3e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/599b3ef9e947f044799d11aecf0dfe659f9a7728?format=markdown)
