From a7a963445d50fa0c53ef771404a40da06abc3cc7 Mon Sep 17 00:00:00 2001 From: Philipp Moritz Date: Wed, 5 Oct 2016 13:30:10 -0700 Subject: [PATCH] fixes --- common | 2 +- photon_scheduler.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/common b/common index 4329afbd5..4204500d2 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 4329afbd53449412b08e64d4057a2857393c2212 +Subproject commit 4204500d23be7726e27598badb691d29d08a0ad7 diff --git a/photon_scheduler.h b/photon_scheduler.h index 54905bb88..591ffe0f5 100644 --- a/photon_scheduler.h +++ b/photon_scheduler.h @@ -10,9 +10,10 @@ typedef struct local_scheduler_state local_scheduler_state; * * @param loop Event loop of the local scheduler. * @param listener_socket Socket the local scheduler is listening on for new - * client requests. + * client requests. * @param context State of the local scheduler. * @param events Flag for events that are available on the listener socket. + * @return Void. */ void new_client_connection(event_loop *loop, int listener_sock, void *context, int events); @@ -22,6 +23,7 @@ void new_client_connection(event_loop *loop, int listener_sock, void *context, * * @param s State of the local scheduler. * @param client_sock Socket by which the worker is connected. + * @return Void. */ void handle_get_task(local_scheduler_state *s, int client_sock); @@ -30,6 +32,7 @@ void handle_get_task(local_scheduler_state *s, int client_sock); * * @param s State of the local scheduler. * @param task Task specification of the task to be submitted. + * @return Void. */ void handle_submit_task(local_scheduler_state *s, task_spec *task);