mirror of https://gitee.com/openkylin/qemu.git
Add static qualifier to local functions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6436 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5e10fc904e
commit
947f5fcbde
|
@ -54,7 +54,7 @@ ldexpl(long double x, int n) {
|
|||
#if defined(_ARCH_PPC)
|
||||
|
||||
/* correct (but slow) PowerPC rint() (glibc version is incorrect) */
|
||||
double qemu_rint(double x)
|
||||
static double qemu_rint(double x)
|
||||
{
|
||||
double y = 4503599627370496.0;
|
||||
if (fabs(x) >= y)
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#define INLINE __inline
|
||||
#define INLINE static inline
|
||||
#define HAS_YM3812 1
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Reference in New Issue