mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 04:23:41 +01:00
Clean up a change that I sneaked in accidentically.
I often build the code with -Wmissing-prototypes to ensure that we don't accidentically pollute the symbol namespace. If we want to provide a symbol such as isopenlibm(), make sure we also declare it in <openlibm_math.h>.
This commit is contained in:
parent
16902a6ce1
commit
b6ff8bbe91
2 changed files with 5 additions and 2 deletions
|
@ -194,6 +194,9 @@ extern int signgam;
|
|||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
/* Symbol present when OpenLibm is used. */
|
||||
int isopenlibm(void);
|
||||
|
||||
/*
|
||||
* ANSI/POSIX
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "math_private.h"
|
||||
#include <openlibm_math.h>
|
||||
|
||||
DLLEXPORT int isopenlibm(void);
|
||||
#include "math_private.h"
|
||||
|
||||
DLLEXPORT int isopenlibm(void) {
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue