Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pithikos committed Jan 14, 2015
1 parent 0b32bf5 commit fcb6926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion thpool.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ void thpool_resume(thpool_t* thpool) {

/* ============================ THREAD ============================== */

void thread_init (thpool_t *thpool, thread_t **thread, int id){
static void thread_init (thpool_t *thpool, thread_t **thread, int id){

*thread = (thread_t*)malloc(sizeof(thread_t));
if (thread == NULL){
Expand Down
2 changes: 1 addition & 1 deletion thpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ void thpool_destroy(thpool_t* thpool);
* @param id id to be given to thread
*
*/
void thread_init(thpool_t* thpool, thread_t** thread, int id);
static void thread_init(thpool_t* thpool, thread_t** thread, int id);


/**
Expand Down

0 comments on commit fcb6926

Please sign in to comment.