From 9c26afc8fde6d30d2149a844cb53e45507a7b5f7 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 28 May 2008 15:19:46 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@313 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chthreads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chthreads.c') diff --git a/src/chthreads.c b/src/chthreads.c index fa32d5e36..797591243 100644 --- a/src/chthreads.c +++ b/src/chthreads.c @@ -27,7 +27,7 @@ /* * Initializes a thread structure. */ -void _InitThread(tprio_t prio, tmode_t mode, Thread *tp) { +void init_thread(tprio_t prio, tmode_t mode, Thread *tp) { static tid_t nextid = 0; tp->p_tid = nextid++; @@ -99,7 +99,7 @@ Thread *chThdCreate(tprio_t prio, tmode_t mode, void *workspace, #ifdef CH_USE_DEBUG memfill(workspace, wsize, MEM_FILL_PATTERN); #endif - _InitThread(prio, mode, tp); + init_thread(prio, mode, tp); SETUP_CONTEXT(workspace, wsize, pf, arg); #ifdef CH_USE_RESUME if (tp->p_flags & P_SUSPENDED) -- cgit v1.2.3