LVM2/daemons/clvmd clvmd.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-03-30 12:48:16
Modified files:
daemons/clvmd : clvmd.c
Log message:
Keep noreturn attribute for lvm_thread_fn
Even thought my gcc seems to not need it, as it's deduced from pthread_exit(), keep it here for older compiler to avoid getting warnings.
daemons/clvmd/clvmd.c +1 -1
@@ -132,7 +132,7 @@static int local_rendezvous_callback (struct local_client *thisfd,char *buf,int len,const char *csid,struct local_client **new_client); -static void *lvm_thread_fn (void *); +static void *lvm_thread_fn (void *) __attribute__((noreturn));static int add_to_lvmqueue (struct local_client *client,struct clvm_header *msg,int msglen,const char *csid);static int distribute_command (struct local_client *thisfd);