aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/threads.h2
-rw-r--r--src/templates/chcore.h4
2 files changed, 3 insertions, 3 deletions
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.