ia64/xen-unstable

changeset 11771:a5469bf602ef

[BLKTAP] Remove bogus extra public definition of sig_handler().
Also do not build the daemon -fPIC.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Oct 08 18:05:57 2006 +0100 (2006-10-08)
parents f071be18e85f
children b92104e0cf08
files tools/blktap/drivers/Makefile tools/blktap/drivers/blktapctrl.c
line diff
     1.1 --- a/tools/blktap/drivers/Makefile	Fri Oct 06 16:51:10 2006 +0100
     1.2 +++ b/tools/blktap/drivers/Makefile	Sun Oct 08 18:05:57 2006 +0100
     1.3 @@ -10,11 +10,8 @@ QCOW_UTIL    = img2qcow qcow2raw qcow-cr
     1.4  INSTALL_DIR  = /usr/sbin
     1.5  LIBAIO_DIR   = ../../libaio/src
     1.6  
     1.7 -CFLAGS   += -fPIC
     1.8 -CFLAGS   += -Wall
     1.9  CFLAGS   += -Werror
    1.10  CFLAGS   += -Wno-unused
    1.11 -CFLAGS   += -g3
    1.12  CFLAGS   += -fno-strict-aliasing
    1.13  CFLAGS   += -I $(XEN_LIBXC) -I $(LIBAIO_DIR)
    1.14  CFLAGS   += $(INCLUDES) -I. -I../../xenstore 
     2.1 --- a/tools/blktap/drivers/blktapctrl.c	Fri Oct 06 16:51:10 2006 +0100
     2.2 +++ b/tools/blktap/drivers/blktapctrl.c	Sun Oct 08 18:05:57 2006 +0100
     2.3 @@ -74,11 +74,6 @@ static int write_msg(int fd, int msgtype
     2.4  static int read_msg(int fd, int msgtype, void *ptr);
     2.5  static driver_list_entry_t *active_disks[MAX_DISK_TYPES];
     2.6  
     2.7 -void sig_handler(int sig)
     2.8 -{
     2.9 -	run = 0;	
    2.10 -}
    2.11 -
    2.12  static void init_driver_list(void)
    2.13  {
    2.14  	int i;