From 045e848884a7d1d8b9634b29c2d0536d7c6bd8b2 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 13 Feb 2006 09:59:03 +0000 Subject: Rename _mmap.c to mmap.c so that vax does not pick up both common and arch specific mmap --- libc/sysdeps/linux/vax/Makefile.arch | 3 +-- libc/sysdeps/linux/vax/_mmap.c | 11 ----------- libc/sysdeps/linux/vax/mmap.c | 11 +++++++++++ 3 files changed, 12 insertions(+), 13 deletions(-) delete mode 100644 libc/sysdeps/linux/vax/_mmap.c create mode 100644 libc/sysdeps/linux/vax/mmap.c (limited to 'libc') diff --git a/libc/sysdeps/linux/vax/Makefile.arch b/libc/sysdeps/linux/vax/Makefile.arch index 0e4df44e0..ea8672c7d 100644 --- a/libc/sysdeps/linux/vax/Makefile.arch +++ b/libc/sysdeps/linux/vax/Makefile.arch @@ -6,8 +6,7 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # -# psm: rename _mmap.c, else the generic won't be overwritten -CSRC := brk.c _mmap.c +CSRC := brk.c mmap.c SSRC := __longjmp.S setjmp.S _setjmp.S clone.S include $(top_srcdir)libc/sysdeps/linux/Makefile.commonarch diff --git a/libc/sysdeps/linux/vax/_mmap.c b/libc/sysdeps/linux/vax/_mmap.c deleted file mode 100644 index 41bfb79f1..000000000 --- a/libc/sysdeps/linux/vax/_mmap.c +++ /dev/null @@ -1,11 +0,0 @@ - -#include -#include -#include -#include - -libc_hidden_proto(mmap) -_syscall6 (void *, mmap, void *, start, size_t, length, int, prot, int, flags, - int, fd, off_t, offset); -libc_hidden_def(mmap) - diff --git a/libc/sysdeps/linux/vax/mmap.c b/libc/sysdeps/linux/vax/mmap.c new file mode 100644 index 000000000..41bfb79f1 --- /dev/null +++ b/libc/sysdeps/linux/vax/mmap.c @@ -0,0 +1,11 @@ + +#include +#include +#include +#include + +libc_hidden_proto(mmap) +_syscall6 (void *, mmap, void *, start, size_t, length, int, prot, int, flags, + int, fd, off_t, offset); +libc_hidden_def(mmap) + -- cgit v1.2.3