From f8b4fca89a8dd31989a3d21e4c6fb4175aba4110 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 19 Jan 2009 10:41:54 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@642 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/threads.h | 2 +- src/templates/chcore.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/include/threads.h b/src/include/threads.h index cd3856b34..68f7f9bb9 100644 --- a/src/include/threads.h +++ b/src/include/threads.h @@ -49,7 +49,7 @@ struct Thread { /** Mode flags. */ tmode_t p_flags; /** Machine dependent processor context.*/ - Context p_ctx; + struct context p_ctx; #ifdef CH_USE_NESTED_LOCKS cnt_t p_locks; #endif diff --git a/src/templates/chcore.h b/src/templates/chcore.h index e4cf7d89e..7c3fe4f0d 100644 --- a/src/templates/chcore.h +++ b/src/templates/chcore.h @@ -57,9 +57,9 @@ struct intctx { * This structure usually contains just the saved stack pointer defined as a * pointer to a @p intctx structure. */ -typedef struct { +struct context { struct intctx *sp; -} Context; +}; /** * Platform dependent part of the @p chThdInit() API. -- cgit v1.2.3