1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

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.
This commit is contained in:
Zdenek Kabelac 2011-03-30 12:48:16 +00:00
parent 1fa8125125
commit d951cb0e68

View File

@ -132,7 +132,7 @@ static int check_all_clvmds_running(struct local_client *client);
static int local_rendezvous_callback(struct local_client *thisfd, char *buf, static int local_rendezvous_callback(struct local_client *thisfd, char *buf,
int len, const char *csid, int len, const char *csid,
struct local_client **new_client); 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, static int add_to_lvmqueue(struct local_client *client, struct clvm_header *msg,
int msglen, const char *csid); int msglen, const char *csid);
static int distribute_command(struct local_client *thisfd); static int distribute_command(struct local_client *thisfd);