diff options
author | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-09-05 18:53:08 +0000 |
---|---|---|
committer | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-09-05 18:53:08 +0000 |
commit | 31d6fa36cc4b488a165fbe7d05c42d0dae98275f (patch) | |
tree | c4c32c25344f6b1d23b4bf14c0c8405ed0268563 /tools/xenstore | |
parent | 792d3391029992a6bb7ca2ac55506e151772ebc8 (diff) | |
download | xen-31d6fa36cc4b488a165fbe7d05c42d0dae98275f.tar.gz xen-31d6fa36cc4b488a165fbe7d05c42d0dae98275f.tar.bz2 xen-31d6fa36cc4b488a165fbe7d05c42d0dae98275f.zip |
Add -Werror to xenstore build and fix failure.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Diffstat (limited to 'tools/xenstore')
-rw-r--r-- | tools/xenstore/Makefile | 2 | ||||
-rw-r--r-- | tools/xenstore/xenstored_domain.c | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index f94bd59d9d..13164f08d6 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -8,7 +8,7 @@ INSTALL_PROG = $(INSTALL) -m0755 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 --git a/tools/xenstore/xenstored_domain.c b/tools/xenstore/xenstored_domain.c index 807a62fff4..e98a347a85 100644 --- a/tools/xenstore/xenstored_domain.c +++ b/tools/xenstore/xenstored_domain.c @@ -216,17 +216,6 @@ static int destroy_domain(void *_domain) 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. */ void handle_event(int event_fd) { |