summaryrefslogtreecommitdiff
path: root/sysdeps/mach/munmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/munmap.c')
-rw-r--r--sysdeps/mach/munmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/munmap.c b/sysdeps/mach/munmap.c
index 4813492766..2ac9305ff8 100644
--- a/sysdeps/mach/munmap.c
+++ b/sysdeps/mach/munmap.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@
bytes. Returns 0 if successful, -1 for errors (and sets errno). */
int
-__munmap (__ptr_t addr, size_t len)
+__munmap (void *addr, size_t len)
{
kern_return_t err;
@@ -43,4 +43,5 @@ __munmap (__ptr_t addr, size_t len)
return 0;
}
+libc_hidden_def (__munmap)
weak_alias (__munmap, munmap)