Skip to content

Commit

Permalink
liberate malloc_hook_mmap_linux.h from linux_syscall_support
Browse files Browse the repository at this point in the history
It was not used some time now, as we're rightfully trusting libc
syscall wrapper instead.
  • Loading branch information
alk committed Feb 21, 2021
1 parent 35301e2 commit 2e7094a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/malloc_hook_mmap_linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,10 @@
# error Should only be including malloc_hook_mmap_linux.h on linux systems.
#endif

#include <unistd.h>
#include <syscall.h>
#include <sys/mman.h>
#include <errno.h>
#include "base/linux_syscall_support.h"
#include <sys/mman.h>
#include <sys/syscall.h>
#include <unistd.h>

// The x86-32 case and the x86-64 case differ:
// 32b has a mmap2() syscall, 64b does not.
Expand Down

0 comments on commit 2e7094a

Please sign in to comment.