diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-02-19 01:52:31 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-02-19 01:59:34 +0300 |
commit | 9992e6a1693a7fe7512759811d79287c18a699a9 (patch) | |
tree | 68d85aeb37a60ea92ce4a874f69a7d07c96a1682 /intern | |
parent | 3f5b2e268295083d9dddb9628b7b7aed39f3350a (diff) |
Fix a few compiler warnings with macOS / clang.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/libmv/libmv/numeric/numeric.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/libmv/libmv/numeric/numeric.h b/intern/libmv/libmv/numeric/numeric.h index a42dab8c7a2..1a23d653676 100644 --- a/intern/libmv/libmv/numeric/numeric.h +++ b/intern/libmv/libmv/numeric/numeric.h @@ -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); } |