Date: Thu, 21 Mar 2002 13:41:51 -0700 (MST) From: "M. Warner Losh" <imp@village.org> To: standards@freebsd.org Subject: Comments on this patch from pendants Message-ID: <20020321.134151.58406849.imp@village.org>
next in thread | raw e-mail | index | archive | help
Looks like this is the only place in our whole tree that we use or depend on _REENTRANT being defined. I don't see why we need it. Can the standards czars on this list comment about the pros and cons of this patch? Thanks much Warner Index: src/math.h =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/lib/msun/src/math.h,v retrieving revision 1.11 diff -u -r1.11 math.h --- src/math.h 13 Dec 2001 17:22:17 -0000 1.11 +++ src/math.h 21 Mar 2002 20:37:07 -0000 @@ -182,10 +182,8 @@ * Reentrant version of gamma & lgamma; passes signgam back by reference * as the second argument; user must allocate space for signgam. */ -#ifdef _REENTRANT double gamma_r __P((double, int *)); double lgamma_r __P((double, int *)); -#endif /* _REENTRANT */ /* float versions of ANSI/POSIX functions */ float acosf __P((float)); @@ -264,10 +262,8 @@ * signgam back by reference as the second argument; user must * allocate space for signgam. */ -#ifdef _REENTRANT float gammaf_r __P((float, int *)); float lgammaf_r __P((float, int *)); -#endif /* _REENTRANT */ #endif /* !_XOPEN_SOURCE */ #endif /* !_ANSI_SOURCE && !_POSIX_SOURCE */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020321.134151.58406849.imp>