Skip to content

Commit 7e5585a

Browse files
committed
Rename openlibm.h to openlibm_math.h.
This is a bit more consistent with the naming of the other header files (openlibm_complex.h and openlibm_fenv.h). Re-add an openlibm.h header that includes all of the public headers as a shorthand. Fix up all of the source files to include <openlibm_math.h> instead of <openlibm.h>. While there, fix ordering of the includes.
1 parent c2154fd commit 7e5585a

305 files changed

Lines changed: 862 additions & 838 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bsdsrc/b_exp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include "cdefs-compat.h"
3232
//__FBSDID("$FreeBSD: src/lib/msun/bsdsrc/b_exp.c,v 1.9 2011/10/16 05:37:20 das Exp $");
3333

34+
#include <openlibm_math.h>
3435

3536
/* EXP(X)
3637
* RETURN THE EXPONENTIAL OF X

bsdsrc/b_log.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
#include "cdefs-compat.h"
3232
//__FBSDID("$FreeBSD: src/lib/msun/bsdsrc/b_log.c,v 1.9 2008/02/22 02:26:51 das Exp $");
3333

34-
#include <openlibm.h>
35-
#include <errno.h>
34+
#include <openlibm_math.h>
3635

3736
#include "mathimpl.h"
3837

bsdsrc/b_tgamma.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
* acknowledged.
3939
*/
4040

41-
#include <openlibm.h>
41+
#include <openlibm_math.h>
42+
4243
#include "mathimpl.h"
4344

4445
/* METHOD:

bsdsrc/mathimpl.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
#define _MATHIMPL_H_
3535

3636
#include "cdefs-compat.h"
37-
#include <openlibm.h>
38-
3937
#include "math_private.h"
4038

4139
/*

0 commit comments

Comments
 (0)