Skip to content

Commit 9745c2e

Browse files
committed
Update thrdpool.c
1 parent f90aa3b commit 9745c2e

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/kernel/thrdpool.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ thrdpool_t *thrdpool_create(size_t nthreads, size_t stacksize)
193193
return NULL;
194194
}
195195

196-
inline void __thrdpool_schedule(const struct thrdpool_task *task, void *buf,
197-
thrdpool_t *pool);
198-
199196
void __thrdpool_schedule(const struct thrdpool_task *task, void *buf,
200197
thrdpool_t *pool)
201198
{
@@ -216,8 +213,6 @@ int thrdpool_schedule(const struct thrdpool_task *task, thrdpool_t *pool)
216213
return -1;
217214
}
218215

219-
inline int thrdpool_in_pool(thrdpool_t *pool);
220-
221216
int thrdpool_in_pool(thrdpool_t *pool)
222217
{
223218
return pthread_getspecific(pool->key) == pool;

0 commit comments

Comments
 (0)