From: roland Date: Sat, 21 Jan 1995 14:28:02 +0000 (+0000) Subject: Converted to use weak aliases with macros from libc-symbols.h. X-Git-Tag: libc_1_09~715 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=bacc0b54ad406a033d4d16eb46f2e7d2665dd63b Converted to use weak aliases with macros from libc-symbols.h. --- diff --git a/sysdeps/generic/copysign.c b/sysdeps/generic/copysign.c index 9139e95b27..0bd3ed9360 100644 --- a/sysdeps/generic/copysign.c +++ b/sysdeps/generic/copysign.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992 Free Software Foundation, Inc. +/* Copyright (C) 1992, 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 @@ -26,3 +26,5 @@ DEFUN(__copysign, (x, y), double x AND double y) x = fabs (x); return y < 0 ? - x : x; } + +weak_alias (__copysign, copysign) diff --git a/sysdeps/standalone/close.c b/sysdeps/standalone/close.c index d7674ae676..59b607305f 100644 --- a/sysdeps/standalone/close.c +++ b/sysdeps/standalone/close.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995 Free Software Foundation, Inc. Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil, On-Line Applications Research Corporation. @@ -40,3 +40,5 @@ DEFUN(__close, (fd), int fd) return 0; } + +weak_alias (__close, close)