commit d84ec987d14c0e387d8e9fcd97171b0e7bd65f5b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Dec 21 10:05:03 2024 +0100

    Fix missing function parameters
    
    (cherry picked from commit a6224ae7ba4016e2dc2adf57ef07d0befd27ef92)

diff --git a/src/profiling/callbacks.c b/src/profiling/callbacks.c
index 48c8bb4dc1..63835ba87f 100644
--- a/src/profiling/callbacks.c
+++ b/src/profiling/callbacks.c
@@ -36,7 +36,7 @@ static void *lib_handle=NULL;
 /**
    Dummy implementations of the callbacks
 */
-void _starpu_prof_tool_event_dummy_func()
+static void _starpu_prof_tool_event_dummy_func(struct starpu_prof_tool_info*, union starpu_prof_tool_event_info*, struct starpu_prof_tool_api_info*)
 {
 }
 
commit 91ca4f1bc30ea3c2cfe82b5c15ef988eeaa81653
Author: Nathalie Furmento <nathalie.furmento@labri.fr>
Date:   Thu Jan 2 09:38:22 2025 +0100

    src/profiling: add missing name parameters
    
    (cherry picked from commit d888c4859e3aece6ab0f8f40371594ea7279a3e1)

diff --git a/src/profiling/callbacks.c b/src/profiling/callbacks.c
index 63835ba87f..b4670d14b2 100644
--- a/src/profiling/callbacks.c
+++ b/src/profiling/callbacks.c
@@ -36,7 +36,7 @@ static void *lib_handle=NULL;
 /**
    Dummy implementations of the callbacks
 */
-static void _starpu_prof_tool_event_dummy_func(struct starpu_prof_tool_info*, union starpu_prof_tool_event_info*, struct starpu_prof_tool_api_info*)
+static void _starpu_prof_tool_event_dummy_func(struct starpu_prof_tool_info *pti, union starpu_prof_tool_event_info *ptei, struct starpu_prof_tool_api_info *ptai)
 {
 }
 
commit f1c61e5dbd3b244a046c54538276b55540cfaae8
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Feb 17 23:17:11 2025 +0100

    Fix build with gcc-15

diff --git a/src/drivers/tcpip/driver_tcpip_common.c b/src/drivers/tcpip/driver_tcpip_common.c
index e74e72a09b..64f2e9d3e6 100644
--- a/src/drivers/tcpip/driver_tcpip_common.c
+++ b/src/drivers/tcpip/driver_tcpip_common.c
@@ -154,7 +154,7 @@ struct _starpu_tcpip_req_pending
 };
 
 //function thread
-static void * _starpu_tcpip_thread_pending()
+static void * _starpu_tcpip_thread_pending(void *foo STARPU_ATTRIBUTE_UNUSED)
 {
 	fd_set reads;
 	fd_set writes;
commit 8477129e37731df1bb54dfd22704f5563fb9fd8b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Feb 17 23:20:53 2025 +0100

    Fix build with gcc-15

diff --git a/mpi/src/starpu_mpi_cache.c b/mpi/src/starpu_mpi_cache.c
index 83c903ab1f..31ddb4d632 100644
--- a/mpi/src/starpu_mpi_cache.c
+++ b/mpi/src/starpu_mpi_cache.c
@@ -82,7 +82,7 @@ void _starpu_mpi_cache_init(MPI_Comm comm)
 	STARPU_PTHREAD_MUTEX_INIT(&_cache_mutex, NULL);
 }
 
-void _starpu_mpi_cache_shutdown()
+void _starpu_mpi_cache_shutdown(void)
 {
 	if (_starpu_cache_enabled == 0)
 		return;
diff --git a/mpi/src/starpu_mpi_cache.h b/mpi/src/starpu_mpi_cache.h
index bc55b38af7..8686eda43c 100644
--- a/mpi/src/starpu_mpi_cache.h
+++ b/mpi/src/starpu_mpi_cache.h
@@ -30,7 +30,7 @@ extern "C"
 
 extern int _starpu_cache_enabled;
 void _starpu_mpi_cache_init(MPI_Comm comm);
-void _starpu_mpi_cache_shutdown();
+void _starpu_mpi_cache_shutdown(void);
 void _starpu_mpi_cache_data_init(starpu_data_handle_t data_handle);
 void _starpu_mpi_cache_data_clear(starpu_data_handle_t data_handle);
 
diff --git a/mpi/src/starpu_mpi_init.c b/mpi/src/starpu_mpi_init.c
index 5f3b4cacba..d3c21532d0 100644
--- a/mpi/src/starpu_mpi_init.c
+++ b/mpi/src/starpu_mpi_init.c
@@ -439,7 +439,7 @@ int starpu_mpi_shutdown_comm(MPI_Comm comm)
 
 	_starpu_mpi_comm_amounts_display(stderr, rank);
 	_starpu_mpi_comm_amounts_shutdown();
-	_starpu_mpi_cache_shutdown(world_size);
+	_starpu_mpi_cache_shutdown();
 
 	_mpi_backend._starpu_mpi_backend_shutdown();
 
commit f6950d0af6e780ff14e5c6f852a2e7bd8a7eea1a
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Dec 21 10:13:06 2024 +0100

    Fix missing function parameters

diff --git a/socl/src/cl_enqueuendrangekernel.c b/socl/src/cl_enqueuendrangekernel.c
index 278fa04300..f6e2ad4a29 100644
--- a/socl/src/cl_enqueuendrangekernel.c
+++ b/socl/src/cl_enqueuendrangekernel.c
@@ -96,7 +96,7 @@ void soclEnqueueNDRangeKernel_task(void *descr[], void *args)
  */
 cl_int command_ndrange_kernel_submit(command_ndrange_kernel cmd)
 {
-	starpu_task task = task_create();
+	starpu_task task = task_create(CL_COMMAND_NDRANGE_KERNEL);
 	task->cl = &cmd->codelet;
 	task->cl->model = cmd->kernel->perfmodel;
 	task->cl_arg = cmd;
diff --git a/socl/src/task.c b/socl/src/task.c
index f3a2fe42c5..0e05fa9a41 100644
--- a/socl/src/task.c
+++ b/socl/src/task.c
@@ -51,7 +51,7 @@ void command_completed_task_callback(void *arg)
 /*
  * Create a StarPU task
  */
-starpu_task task_create()
+starpu_task task_create(cl_command_type typ)
 {
 	struct starpu_task * task;
 
@@ -163,7 +163,7 @@ void cpu_task_submit_ex(cl_command cmd, void (*callback)(void*), void *arg, int
 
 	codelet->where = STARPU_OPENCL | STARPU_CPU | STARPU_CUDA;
 
-	starpu_task task = task_create();
+	starpu_task task = task_create(CL_COMMAND_TASK);
 	if (num_events != 0)
 	{
 		task_depends_on(task, num_events, events);
diff --git a/socl/src/task.h b/socl/src/task.h
index 2c4d2011e5..51d9854e00 100644
--- a/socl/src/task.h
+++ b/socl/src/task.h
@@ -19,7 +19,7 @@
 
 #include "socl.h"
 
-starpu_task task_create() STARPU_ATTRIBUTE_MALLOC;
+starpu_task task_create(cl_command_type typ) STARPU_ATTRIBUTE_MALLOC;
 void task_dependency_add(starpu_task task, cl_uint num_events, cl_event *events);
 void command_completed(cl_command cmd);
 
diff --git a/mpi/src/load_balancer/policy/load_balancer_policy.h b/mpi/src/load_balancer/policy/load_balancer_policy.h
index 3f994e61f8..d9b4a0ee5a 100644
--- a/mpi/src/load_balancer/policy/load_balancer_policy.h
+++ b/mpi/src/load_balancer/policy/load_balancer_policy.h
@@ -35,8 +35,8 @@ struct load_balancer_policy
 {
 	int (*init)(struct starpu_mpi_lb_conf *);
 	int (*deinit)();
-	void (*submitted_task_entry_point)();
-	void (*finished_task_entry_point)();
+	void (*submitted_task_entry_point)(struct starpu_task *task);
+	void (*finished_task_entry_point)(void);
 
 	/** Name of the load balancing policy. The selection of the load balancer is
 	 * performed through the use of the STARPU_MPI_LB=name environment
diff --git a/mpi/src/load_balancer/policy/load_heat_propagation.c b/mpi/src/load_balancer/policy/load_heat_propagation.c
index 754bef7058..4ce7b1d26f 100644
--- a/mpi/src/load_balancer/policy/load_heat_propagation.c
+++ b/mpi/src/load_balancer/policy/load_heat_propagation.c
@@ -401,7 +401,7 @@ static void submitted_task_heat(struct starpu_task *task)
 	}
 }
 
-static void finished_task_heat()
+static void finished_task_heat(void)
 {
 	//fprintf(stderr,"Try to decrement nsubmitted_tasks...");
 	STARPU_PTHREAD_MUTEX_LOCK(&load_data_mutex);
