Date: Sat, 24 Apr 2004 19:35:42 -0700 (PDT) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/msun/src math.h Message-ID: <200404250235.i3P2ZgNd093459@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2004/04/24 19:35:42 PDT
FreeBSD src repository
Modified files:
lib/msun/src math.h
Log:
Make sure that symbols are declared in math.h iff the appropriate
namespaces are visible. Previously, math.h failed to hide some C99-,
XSI-, and BSD-specific symbols in certain compilation environments.
The referenced PR has a nice listing of the appropriate conditions for
making symbols visible in math.h. The only non-stylistic difference
between the patch in the PR and this commit is that I superfluously
test for __BSD_VISIBLE in a few places to be more explicit about which
symbols have historically been part of the FreeBSD environment.
PR: 65939
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Revision Changes Path
1.31 +68 -65 src/lib/msun/src/math.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404250235.i3P2ZgNd093459>
