From 1361ddec0a26105623a9a138a4cc1f148e10f499 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 12 Sep 2007 10:33:48 +0000 Subject: [PATCH] Wed Sep 12 11:25:00 BST 2007 Richard W.M. Jones * src/remote_internal.c: virDrvOpenRemoteFlags was accidentally declared as a global variable, instead of the name an enum. --- ChangeLog | 5 +++++ src/remote_internal.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2d1ce07ce9..2b2d396aa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 12 11:25:00 BST 2007 Richard W.M. Jones + + * src/remote_internal.c: virDrvOpenRemoteFlags was accidentally + declared as a global variable, instead of the name an enum. + Mon Sep 10 17:15:29 CEST 2007 Daniel Veillard * docs/architecture.html docs/errors.html docs/format.html diff --git a/src/remote_internal.c b/src/remote_internal.c index 7ac70b9ee1..3506ca0bf1 100644 --- a/src/remote_internal.c +++ b/src/remote_internal.c @@ -230,12 +230,12 @@ remoteForkDaemon(virConnectPtr conn) /* Must not overlap with virDrvOpenFlags */ -enum { +enum virDrvOpenRemoteFlags { VIR_DRV_OPEN_REMOTE_RO = (1 << 0), VIR_DRV_OPEN_REMOTE_UNIX = (1 << 1), VIR_DRV_OPEN_REMOTE_USER = (1 << 2), VIR_DRV_OPEN_REMOTE_AUTOSTART = (1 << 3), -} virDrvOpenRemoteFlags; +}; static int doRemoteOpen (virConnectPtr conn, struct private_data *priv, const char *uri_str, int flags)