From: malc <av1474@comtv.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [6436] Add static qualifier to local functions
Date: Sun, 25 Jan 2009 10:56:51 +0000 [thread overview]
Message-ID: <E1LR2fb-0001dv-F3@cvs.savannah.gnu.org> (raw)
Revision: 6436
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6436
Author: malc
Date: 2009-01-25 10:56:51 +0000 (Sun, 25 Jan 2009)
Log Message:
-----------
Add static qualifier to local functions
Modified Paths:
--------------
trunk/fpu/softfloat-native.c
trunk/hw/fmopl.c
Modified: trunk/fpu/softfloat-native.c
===================================================================
--- trunk/fpu/softfloat-native.c 2009-01-25 10:56:48 UTC (rev 6435)
+++ trunk/fpu/softfloat-native.c 2009-01-25 10:56:51 UTC (rev 6436)
@@ -54,7 +54,7 @@
#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)
Modified: trunk/hw/fmopl.c
===================================================================
--- trunk/hw/fmopl.c 2009-01-25 10:56:48 UTC (rev 6435)
+++ trunk/hw/fmopl.c 2009-01-25 10:56:51 UTC (rev 6436)
@@ -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>
reply other threads:[~2009-01-25 10:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1LR2fb-0001dv-F3@cvs.savannah.gnu.org \
--to=av1474@comtv.ru \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).