From owner-cvs-all@FreeBSD.ORG Sat Apr 24 19:35:43 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F50016A4CE; Sat, 24 Apr 2004 19:35:43 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 587F943D39; Sat, 24 Apr 2004 19:35:43 -0700 (PDT) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3P2ZhGe093460; Sat, 24 Apr 2004 19:35:43 -0700 (PDT) (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3P2ZgNd093459; Sat, 24 Apr 2004 19:35:42 -0700 (PDT) (envelope-from das) Message-Id: <200404250235.i3P2ZgNd093459@repoman.freebsd.org> From: David Schultz Date: Sat, 24 Apr 2004 19:35:42 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/msun/src math.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 02:35:43 -0000 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 Revision Changes Path 1.31 +68 -65 src/lib/msun/src/math.h