提交 947f5fcb 编写于 作者: M malc

Add static qualifier to local functions

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6436 c046a42c-6fe2-441c-8c8c-71466251a162
上级 5e10fc90
...@@ -54,7 +54,7 @@ ldexpl(long double x, int n) { ...@@ -54,7 +54,7 @@ ldexpl(long double x, int n) {
#if defined(_ARCH_PPC) #if defined(_ARCH_PPC)
/* correct (but slow) PowerPC rint() (glibc version is incorrect) */ /* correct (but slow) PowerPC rint() (glibc version is incorrect) */
double qemu_rint(double x) static double qemu_rint(double x)
{ {
double y = 4503599627370496.0; double y = 4503599627370496.0;
if (fabs(x) >= y) if (fabs(x) >= y)
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
*/ */
#define INLINE __inline #define INLINE static inline
#define HAS_YM3812 1 #define HAS_YM3812 1
#include <stdio.h> #include <stdio.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册