summaryrefslogtreecommitdiff
path: root/lib/thread.c
diff options
context:
space:
mode:
authorPaul Jakma <paul@quagga.net>2011-04-08 12:44:43 +0100
committerPaul Jakma <paul@quagga.net>2012-01-06 16:18:18 +0000
commitf63f06da2e7be6b17c72dd6110aae179f42f3700 (patch)
treea36b625a9ea06d0720a240276ed1b8af33193ed7 /lib/thread.c
parent651e70d7f419ee7af75113f80e688c0100e9cff5 (diff)
general: remove inline qualifiers and move in-header functions to objects
* (general) Move functions in headers into files, to be compiled into shared object files. Remove inline qualifier from functions. Let the compiler do the work.
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread.c b/lib/thread.c
index fd841c21..6d3c3cb3 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -248,7 +248,7 @@ cpu_record_hash_free (void *a)
XFREE (MTYPE_THREAD_STATS, hist);
}
-static inline void
+static void
vty_out_cpu_thread_history(struct vty* vty,
struct cpu_thread_history *a)
{
@@ -608,7 +608,7 @@ thread_master_free (struct thread_master *m)
}
/* Thread list is empty or not. */
-static inline int
+static int
thread_empty (struct thread_list *list)
{
return list->head ? 0 : 1;