From: Roland McGrath Date: Fri, 3 Mar 1995 19:42:08 +0000 (+0000) Subject: (mmap): Rename to __mmap, add weak alias mmap. X-Git-Tag: glibc-2.16-ports-before-merge~3946 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35618994bc6004999a5b99577909b9fb26933c46;p=thirdparty%2Fglibc.git (mmap): Rename to __mmap, add weak alias mmap. --- diff --git a/sysdeps/unix/bsd/sun/sunos4/mmap.c b/sysdeps/unix/bsd/sun/sunos4/mmap.c index 4dfc1ca2dab..b71937381b2 100644 --- a/sysdeps/unix/bsd/sun/sunos4/mmap.c +++ b/sysdeps/unix/bsd/sun/sunos4/mmap.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995 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 @@ -34,8 +34,9 @@ extern caddr_t __mmap_syscall (caddr_t addr, size_t len, caddr_t -mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset) +__mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset) { return __mmap_syscall (addr, len, prot, flags | _MAP_NEW, fd, offset); } - + +weak_alias (__mmap, mmap)