From f8d74bdfed1f52c4dce37e98fd0f9e2c0a48d1e7 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 16 Apr 2020 14:56:20 -0400 Subject: [PATCH] chore: small refactors --- runtime/src/sandbox_request_scheduler.c | 2 +- runtime/src/sandbox_request_scheduler_fifo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/sandbox_request_scheduler.c b/runtime/src/sandbox_request_scheduler.c index 31c9549..56caba4 100644 --- a/runtime/src/sandbox_request_scheduler.c +++ b/runtime/src/sandbox_request_scheduler.c @@ -2,7 +2,7 @@ // The global of our polymorphic interface -sandbox_request_scheduler_config_t sandbox_request_scheduler; +static sandbox_request_scheduler_config_t sandbox_request_scheduler; // Initializes a concrete implementation of the sandbox request scheduler interface void diff --git a/runtime/src/sandbox_request_scheduler_fifo.c b/runtime/src/sandbox_request_scheduler_fifo.c index d4d04bd..85b0bb1 100644 --- a/runtime/src/sandbox_request_scheduler_fifo.c +++ b/runtime/src/sandbox_request_scheduler_fifo.c @@ -1,6 +1,6 @@ #include -// FIFO Globals +// Local State static struct deque_sandbox *runtime_global_deque; static pthread_mutex_t runtime_global_deque_mutex = PTHREAD_MUTEX_INITIALIZER;