see subject
Index: exec/wthread.c
===================================================================
--- exec/wthread.c	(revision 2050)
+++ exec/wthread.c	(working copy)
@@ -65,8 +65,7 @@
 	struct thread_data thread_data;
 };
 
-void *worker_thread (void *thread_data_in) __attribute__((__noreturn__));
-void *worker_thread (void *thread_data_in) {
+static void *worker_thread (void *thread_data_in) {
 	struct thread_data *thread_data = (struct thread_data *)thread_data_in;
 	struct worker_thread *worker_thread =
 		(struct worker_thread *)thread_data->data;
@@ -96,6 +95,7 @@
 		}
 		pthread_mutex_unlock (&worker_thread->done_work_mutex);
 	}
+	return (NULL);
 }
 
 int worker_thread_group_init (
_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to