From 5bb882f4551995e4c62bce8b2c286ed5bf2f79ce Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 28 Jan 2014 17:03:53 +0100 Subject: [PATCH] Threads: Renamed default_ucwlib_context to ucwlib_default_context --- ucw/threads.c | 2 +- ucw/threads.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ucw/threads.c b/ucw/threads.c index 1377733b..d9100119 100644 --- a/ucw/threads.c +++ b/ucw/threads.c @@ -119,7 +119,7 @@ ucwlib_thread_context(void) #else /* !CONFIG_UCW_THREADS */ -struct ucwlib_context default_ucwlib_context; +struct ucwlib_context ucwlib_default_context; #endif diff --git a/ucw/threads.h b/ucw/threads.h index 3c1f29b7..89d9f65c 100644 --- a/ucw/threads.h +++ b/ucw/threads.h @@ -49,8 +49,8 @@ extern uns ucwlib_thread_stack_size; /* We have no threads, let's simulate the context and locking */ -extern struct ucwlib_context default_ucwlib_context; -static inline struct ucwlib_context *ucwlib_thread_context(void) { return &default_ucwlib_context; } +extern struct ucwlib_context ucwlib_default_context; +static inline struct ucwlib_context *ucwlib_thread_context(void) { return &ucwlib_default_context; } static inline int ucwlib_thread_id(struct ucwlib_context *c UNUSED) { return 0; } -- 2.39.2