diff options
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/ifreq.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/ifreq.h | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/ptrace.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/sendfile64.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/socketpair.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/ifreq.c b/sysdeps/mach/hurd/ifreq.c index 10877824b2..70a906a83a 100644 --- a/sysdeps/mach/hurd/ifreq.c +++ b/sysdeps/mach/hurd/ifreq.c @@ -53,7 +53,7 @@ __ifreq (struct ifreq **ifreqs, int *num_ifs, int sockfd) if (len % sizeof (struct ifreq) != 0) { - munmap (data, len); + __munmap (data, len); errno = EGRATUITOUS; goto out; } diff --git a/sysdeps/mach/hurd/ifreq.h b/sysdeps/mach/hurd/ifreq.h index 3c200664ee..3ab8d858b6 100644 --- a/sysdeps/mach/hurd/ifreq.h +++ b/sysdeps/mach/hurd/ifreq.h @@ -28,5 +28,5 @@ static inline void __if_freereq (struct ifreq *ifreqs, int num_ifs) { - munmap (ifreqs, num_ifs * sizeof (struct ifreq)); + __munmap (ifreqs, num_ifs * sizeof (struct ifreq)); } diff --git a/sysdeps/mach/hurd/ptrace.c b/sysdeps/mach/hurd/ptrace.c index ac3059bb90..d0268a3f98 100644 --- a/sysdeps/mach/hurd/ptrace.c +++ b/sysdeps/mach/hurd/ptrace.c @@ -155,7 +155,7 @@ ptrace (enum __ptrace_request request, ... ) va_end (ap); /* SIGKILL always just terminates the task, so normal kill is just the same when traced. */ - return kill (pid, SIGKILL); + return __kill (pid, SIGKILL); case PTRACE_SINGLESTEP: /* This is a machine-dependent kernel RPC on diff --git a/sysdeps/mach/hurd/sendfile64.c b/sysdeps/mach/hurd/sendfile64.c index dfd9c45daf..f69ccd4a79 100644 --- a/sysdeps/mach/hurd/sendfile64.c +++ b/sysdeps/mach/hurd/sendfile64.c @@ -47,7 +47,7 @@ sendfile64 (int out_fd, int in_fd, off64_t *offset, size_t count) return 0; err = HURD_DPORT_USE (out_fd, __io_write (port, data, datalen, (off_t) -1, &nwrote)); - munmap (data, datalen); + __munmap (data, datalen); if (err == 0) { if (offset) diff --git a/sysdeps/mach/hurd/socketpair.c b/sysdeps/mach/hurd/socketpair.c index 85e0f7400b..3b18c676c0 100644 --- a/sysdeps/mach/hurd/socketpair.c +++ b/sysdeps/mach/hurd/socketpair.c @@ -82,7 +82,7 @@ __socketpair (int domain, int type, int protocol, int fds[2]) if (d2 < 0) { err = errno; - (void) close (d1); + (void) __close (d1); return __hurd_fail (err); } |