|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [BLKTAP] Remove bogus extra public defini
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID a5469bf602efda2d208ef7b7e9b9ecb934e7415c
# Parent f071be18e85fc90cfae04db9d66fee8ccdf59878
[BLKTAP] Remove bogus extra public definition of sig_handler().
Also do not build the daemon -fPIC.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
tools/blktap/drivers/Makefile | 3 ---
tools/blktap/drivers/blktapctrl.c | 5 -----
2 files changed, 8 deletions(-)
diff -r f071be18e85f -r a5469bf602ef tools/blktap/drivers/Makefile
--- a/tools/blktap/drivers/Makefile Fri Oct 06 16:51:10 2006 +0100
+++ b/tools/blktap/drivers/Makefile Sun Oct 08 18:05:57 2006 +0100
@@ -10,11 +10,8 @@ INSTALL_DIR = /usr/sbin
INSTALL_DIR = /usr/sbin
LIBAIO_DIR = ../../libaio/src
-CFLAGS += -fPIC
-CFLAGS += -Wall
CFLAGS += -Werror
CFLAGS += -Wno-unused
-CFLAGS += -g3
CFLAGS += -fno-strict-aliasing
CFLAGS += -I $(XEN_LIBXC) -I $(LIBAIO_DIR)
CFLAGS += $(INCLUDES) -I. -I../../xenstore
diff -r f071be18e85f -r a5469bf602ef tools/blktap/drivers/blktapctrl.c
--- a/tools/blktap/drivers/blktapctrl.c Fri Oct 06 16:51:10 2006 +0100
+++ b/tools/blktap/drivers/blktapctrl.c Sun Oct 08 18:05:57 2006 +0100
@@ -73,11 +73,6 @@ static int write_msg(int fd, int msgtype
static int write_msg(int fd, int msgtype, void *ptr, void *ptr2);
static int read_msg(int fd, int msgtype, void *ptr);
static driver_list_entry_t *active_disks[MAX_DISK_TYPES];
-
-void sig_handler(int sig)
-{
- run = 0;
-}
static void init_driver_list(void)
{
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [BLKTAP] Remove bogus extra public definition of sig_handler().,
Xen patchbot-unstable <=
|
|
|
|
|