diff options
Diffstat (limited to 'sysdeps/stub')
-rw-r--r-- | sysdeps/stub/getsid.c | 1 | ||||
-rw-r--r-- | sysdeps/stub/mmap.c | 1 | ||||
-rw-r--r-- | sysdeps/stub/munmap.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/stub/getsid.c b/sysdeps/stub/getsid.c index 8d2af8b..5c65311 100644 --- a/sysdeps/stub/getsid.c +++ b/sysdeps/stub/getsid.c @@ -27,3 +27,4 @@ getsid (pid_t pid) __set_errno (ENOSYS); return (pid_t) -1; } +stub_warning (getsid) diff --git a/sysdeps/stub/mmap.c b/sysdeps/stub/mmap.c index 6b55776..02fb8d7 100644 --- a/sysdeps/stub/mmap.c +++ b/sysdeps/stub/mmap.c @@ -36,4 +36,5 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset) return (caddr_t) -1; } +stub_warning (mmap) weak_alias (__mmap, mmap) diff --git a/sysdeps/stub/munmap.c b/sysdeps/stub/munmap.c index 9c96042..4802a58 100644 --- a/sysdeps/stub/munmap.c +++ b/sysdeps/stub/munmap.c @@ -30,4 +30,5 @@ __munmap (caddr_t addr, size_t len) return -1; } +stub_warning (munmap) weak_alias (__munmap, munmap) |