]> mj.ucw.cz Git - libucw.git/commitdiff
Threads: Renamed default_ucwlib_context to ucwlib_default_context
authorMartin Mares <mj@ucw.cz>
Tue, 28 Jan 2014 16:03:53 +0000 (17:03 +0100)
committerMartin Mares <mj@ucw.cz>
Tue, 28 Jan 2014 16:03:53 +0000 (17:03 +0100)
ucw/threads.c
ucw/threads.h

index 1377733bc2660ce5d8cb0cdac289a2e6d0a35bb1..d9100119f601210692f59e6c58b4704c4dac2a85 100644 (file)
@@ -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
 
index 3c1f29b799ccf292e44ae38df900d23e5fe67326..89d9f65c19020bba1959d2f7d428f482ea16702b 100644 (file)
@@ -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; }