debuggers.hg
changeset 6666:bdae19282fb8
Add -Werror to xenstore build and fix failure.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author | cl349@firebug.cl.cam.ac.uk |
---|---|
date | Mon Sep 05 18:53:08 2005 +0000 (2005-09-05) |
parents | d5bd2c583cb0 |
children | 7f941f9c237b |
files | tools/xenstore/Makefile tools/xenstore/xenstored_domain.c |
line diff
1.1 --- a/tools/xenstore/Makefile Mon Sep 05 17:51:55 2005 +0000 1.2 +++ b/tools/xenstore/Makefile Mon Sep 05 18:53:08 2005 +0000 1.3 @@ -8,7 +8,7 @@ INSTALL_PROG = $(INSTALL) -m0755 1.4 INSTALL_DIR = $(INSTALL) -d -m0755 1.5 1.6 PROFILE=#-pg 1.7 -BASECFLAGS=-Wall -W -g 1.8 +BASECFLAGS=-Wall -W -g -Werror 1.9 # Make gcc generate dependencies. 1.10 BASECFLAGS += -Wp,-MD,.$(@F).d 1.11 PROG_DEP = .*.d
2.1 --- a/tools/xenstore/xenstored_domain.c Mon Sep 05 17:51:55 2005 +0000 2.2 +++ b/tools/xenstore/xenstored_domain.c Mon Sep 05 18:53:08 2005 +0000 2.3 @@ -216,17 +216,6 @@ static int destroy_domain(void *_domain) 2.4 return 0; 2.5 } 2.6 2.7 -static struct domain *find_domain(u16 port) 2.8 -{ 2.9 - struct domain *i; 2.10 - 2.11 - list_for_each_entry(i, &domains, list) { 2.12 - if (i->port == port) 2.13 - return i; 2.14 - } 2.15 - return NULL; 2.16 -} 2.17 - 2.18 /* We scan all domains rather than use the information given here. */ 2.19 void handle_event(int event_fd) 2.20 {