Fix a few compiler warnings with macOS / clang.

This commit is contained in:
Brecht Van Lommel
2017-02-18 23:52:31 +01:00
parent 3f5b2e2682
commit 9992e6a169
6 changed files with 26 additions and 32 deletions

View File

@@ -36,7 +36,7 @@
#if !defined(__MINGW64__)
# if defined(_WIN32) || defined(__APPLE__) || \
defined(__FreeBSD__) || defined(__NetBSD__)
static void sincos(double x, double *sinx, double *cosx) {
inline void sincos(double x, double *sinx, double *cosx) {
*sinx = sin(x);
*cosx = cos(x);
}