From: Martin Mares Date: Tue, 28 Jan 2014 16:03:53 +0000 (+0100) Subject: Threads: Renamed default_ucwlib_context to ucwlib_default_context X-Git-Tag: v5.99~15 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=5bb882f4551995e4c62bce8b2c286ed5bf2f79ce;p=libucw.git Threads: Renamed default_ucwlib_context to ucwlib_default_context --- 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; }