All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5231] Make sure to define fd_open when not on Linux
Date: Mon, 15 Sep 2008 16:48:12 +0000	[thread overview]
Message-ID: <E1KfHFE-0004we-9d@cvs.savannah.gnu.org> (raw)

Revision: 5231
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5231
Author:   aliguori
Date:     2008-09-15 16:48:11 +0000 (Mon, 15 Sep 2008)

Log Message:
-----------
Make sure to define fd_open when not on Linux

My previous commit broke the build.  This was spotted by C.W. Betts.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Modified Paths:
--------------
    trunk/block-raw-posix.c

Modified: trunk/block-raw-posix.c
===================================================================
--- trunk/block-raw-posix.c	2008-09-15 16:05:16 UTC (rev 5230)
+++ trunk/block-raw-posix.c	2008-09-15 16:48:11 UTC (rev 5231)
@@ -1149,6 +1149,11 @@
 }
 #else
 
+static int fd_open(BlockDriverState *bs)
+{
+    return 0;
+}
+
 static int raw_is_inserted(BlockDriverState *bs)
 {
     return 1;

                 reply	other threads:[~2008-09-15 16:48 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=E1KfHFE-0004we-9d@cvs.savannah.gnu.org \
    --to=anthony@codemonkey.ws \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.