[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Add -Werror to xenstore build and fix failure.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |