Thread reportin and out can be static non inline.
diff --git a/cgminer.c b/cgminer.c
index c657c97..089b29e 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4665,7 +4665,7 @@ static void *api_thread(void *userdata)
return NULL;
}
-void thread_reportin(struct thr_info *thr)
+static void thread_reportin(struct thr_info *thr)
{
thr->getwork = false;
cgtime(&thr->last);
@@ -4675,7 +4675,7 @@ void thread_reportin(struct thr_info *thr)
/* Tell the watchdog thread this thread is waiting on get work and should not
* be restarted */
-static inline void thread_reportout(struct thr_info *thr)
+static void thread_reportout(struct thr_info *thr)
{
thr->getwork = true;
cgtime(&thr->last);
diff --git a/miner.h b/miner.h
index a87d1a5..6a8b045 100644
--- a/miner.h
+++ b/miner.h
@@ -942,7 +942,6 @@ extern pthread_rwlock_t devices_lock;
extern pthread_mutex_t restart_lock;
extern pthread_cond_t restart_cond;
-extern void thread_reportin(struct thr_info *thr);
extern void clear_stratum_shares(struct pool *pool);
extern void set_target(unsigned char *dest_target, double diff);
extern int restart_wait(struct thr_info *thr, unsigned int mstime);