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:
malc 2009-01-25 10:56:51 +00:00
parent 5e10fc904e
commit 947f5fcbde
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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>