qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Cleber Rosa <crosa@redhat.com>
To: qemu-devel@nongnu.org
Cc: Cleber Rosa <crosa@redhat.com>
Subject: [Qemu-devel] [PATCH 5/6] tests/tcg/test-i386-fprem.c: compilation fix for -Werror=strict-prototype
Date: Wed,  2 Aug 2017 16:15:11 -0400	[thread overview]
Message-ID: <20170802201512.29142-6-crosa@redhat.com> (raw)
In-Reply-To: <20170802201512.29142-1-crosa@redhat.com>

A trivial fix to make the compiler happy.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
 tests/tcg/test-i386-fprem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tcg/test-i386-fprem.c b/tests/tcg/test-i386-fprem.c
index 1a71623..f70363d 100644
--- a/tests/tcg/test-i386-fprem.c
+++ b/tests/tcg/test-i386-fprem.c
@@ -98,7 +98,7 @@ static const union float80u smallest_positive_norm = {
     .ieee.mantissa = 0,
 };
 
-static void fninit()
+static void fninit(void)
 {
     asm volatile ("fninit\n");
 }
-- 
2.9.4

  parent reply	other threads:[~2017-08-02 20:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 20:15 [Qemu-devel] [PATCH 0/6] Enable building and running tcg tests on i386 Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 1/6] tests/tcg/test_path.c: include utils/bufferiszero.c Cleber Rosa
2017-08-02 21:36   ` Philippe Mathieu-Daudé
2017-08-02 22:24     ` Cleber Rosa
2017-08-17 13:26       ` Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 2/6] tests/tcg/linux-test.c: remove unused include of "qemu/cutils.h" Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 3/6] tests/tcg/linux-test.c: include definitions for getrusage() Cleber Rosa
2017-08-02 21:28   ` Philippe Mathieu-Daudé
2017-08-02 21:37     ` Philippe Mathieu-Daudé
2017-08-02 20:15 ` [Qemu-devel] [PATCH 4/6] tests/tcg/test-i386-fprem: build with $(QEMU_CFLAGS) Cleber Rosa
2017-08-02 20:15 ` Cleber Rosa [this message]
2017-08-02 20:15 ` [Qemu-devel] [PATCH 6/6] tests/tcg/test-i386-fprem.c: compilation fix for -Werror=unused-const-variable= Cleber Rosa

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=20170802201512.29142-6-crosa@redhat.com \
    --to=crosa@redhat.com \
    --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).