[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 4/8] Use libuuid if available.

From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH v4 4/8] Use libuuid if available.
Date: Mon, 1 Sep 2008 16:49:06 +0200

Am 01.09.2008 um 09:25 schrieb Gleb Natapov:

diff --git a/vl.c b/vl.c
index 6df0832..215ff7f 100644
--- a/vl.c
+++ b/vl.c
@@ -142,6 +142,11 @@ int inet_aton(const char *cp, struct in_addr *ia);

#include "exec-all.h"

+#include <uuid/uuid.h>
+static int generate_uuid;
#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
#ifdef __sun__

Does C99 ensure that generate_uuid gets initialized to zero? Afaik in ANSI C it was undefined and needed an explicit assignment.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]