From: Ulrich Drepper Date: Wed, 15 May 2002 00:10:13 +0000 (+0000) Subject: (__sendmsg): Renamed from sendmsg, add sendmsg as weak alias. X-Git-Tag: upstream/2.30~10627^2~1687 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd96b0cb1d15fe0fcb49a7bdff81e66b93597436;p=external%2Fglibc.git (__sendmsg): Renamed from sendmsg, add sendmsg as weak alias. --- diff --git a/sysdeps/unix/sysv/aix/sendmsg.c b/sysdeps/unix/sysv/aix/sendmsg.c index 054d374..5b1baf6 100644 --- a/sysdeps/unix/sysv/aix/sendmsg.c +++ b/sysdeps/unix/sysv/aix/sendmsg.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2000, 2001, 2002 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 @@ -21,7 +21,10 @@ extern int nsendmsg (int s, const void *uap_msg, int flags); ssize_t -sendmsg (int fd, const struct msghdr *message, int flags) +__sendmsg (int fd, const struct msghdr *message, int flags) { return nsendmsg (fd, message, flags); } + +weak_alias (__sendmsg, sendmsg) +