WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Add -Werror to xenstore build and fix failure.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Add -Werror to xenstore build and fix failure.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 05 Sep 2005 19:54:21 +0000
Delivery-date: Mon, 05 Sep 2005 19:52:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID bdae19282fb808d309f2a204214fdda6b63a2624
# Parent  d5bd2c583cb01e1442827d5565b1cc19398b3f32
Add -Werror to xenstore build and fix failure.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r d5bd2c583cb0 -r bdae19282fb8 tools/xenstore/Makefile
--- a/tools/xenstore/Makefile   Mon Sep  5 17:51:55 2005
+++ b/tools/xenstore/Makefile   Mon Sep  5 18:53:08 2005
@@ -8,7 +8,7 @@
 INSTALL_DIR     = $(INSTALL) -d -m0755
 
 PROFILE=#-pg
-BASECFLAGS=-Wall -W -g 
+BASECFLAGS=-Wall -W -g -Werror
 # Make gcc generate dependencies.
 BASECFLAGS += -Wp,-MD,.$(@F).d
 PROG_DEP = .*.d
diff -r d5bd2c583cb0 -r bdae19282fb8 tools/xenstore/xenstored_domain.c
--- a/tools/xenstore/xenstored_domain.c Mon Sep  5 17:51:55 2005
+++ b/tools/xenstore/xenstored_domain.c Mon Sep  5 18:53:08 2005
@@ -214,17 +214,6 @@
                munmap(domain->page, getpagesize());
 
        return 0;
-}
-
-static struct domain *find_domain(u16 port)
-{
-       struct domain *i;
-
-       list_for_each_entry(i, &domains, list) {
-               if (i->port == port)
-                       return i;
-       }
-       return NULL;
 }
 
 /* We scan all domains rather than use the information given here. */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Add -Werror to xenstore build and fix failure., Xen patchbot -unstable <=