~mirabilos/klibc/master

Viewing all changes in revision 2235.

  • Committer: Ben Hutchings
  • Date: 2024-10-02 00:07:27 UTC
  • Revision ID: git-v1:b0b8629919ddaa19149a4fae81fb459baf51eabb
[klibc] syscalls: Define mlock() etc. on all architectures

Due to an error in editing preprocessor conditionals long ago, the
m{,un}lock{,all}() system call wrappers are only generated on
architectures where we use mmap() and not mmap2().  Move the #endif to
the right place.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: