aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/job_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/job_queue.c')
-rw-r--r--Source/charon/job_queue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/charon/job_queue.c b/Source/charon/job_queue.c
index a42a5827a..3844004a1 100644
--- a/Source/charon/job_queue.c
+++ b/Source/charon/job_queue.c
@@ -59,7 +59,7 @@ struct private_job_queue_s {
/**
* @brief implements function get_count of job_queue_t
*/
-status_t get_count(private_job_queue_t *this, int *count)
+static status_t get_count(private_job_queue_t *this, int *count)
{
pthread_mutex_lock(&(this->mutex));
this->list->get_count(this->list,count);
@@ -70,7 +70,7 @@ status_t get_count(private_job_queue_t *this, int *count)
/**
* @brief implements function get of job_queue_t
*/
-status_t get(private_job_queue_t *this, job_t **job)
+static status_t get(private_job_queue_t *this, job_t **job)
{
int count;
int oldstate;
@@ -97,7 +97,7 @@ status_t get(private_job_queue_t *this, job_t **job)
/**
* @brief implements function add of job_queue_t
*/
-status_t add(private_job_queue_t *this, job_t *job)
+static status_t add(private_job_queue_t *this, job_t *job)
{
pthread_mutex_lock(&(this->mutex));
this->list->insert_last(this->list,job);
@@ -110,7 +110,7 @@ status_t add(private_job_queue_t *this, job_t *job)
* @brief implements function destroy of job_queue_t
*
*/
-status_t job_queue_destroy (private_job_queue_t *this)
+static status_t job_queue_destroy (private_job_queue_t *this)
{
int count;
this->list->get_count(this->list,&count);