Prefix CONTAINER_OF with UC_

This commit is contained in:
Nils O. Selåsdal
2013-09-28 23:45:51 +02:00
parent ff0fd32ae1
commit dd517a5d85
8 changed files with 29 additions and 19 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ void t2_cb(struct UCTimers *timers, struct UCTimer *timer)
void mystruct1_cb(struct UCTimers *timers, struct UCTimer *timer)
{
struct MyStruct *mystruct = CONTAINER_OF(timer, struct MyStruct, timer);
struct MyStruct *mystruct = UC_CONTAINER_OF(timer, struct MyStruct, timer);
TRACEF("MyStruct1 timer: %s\n", mystruct->str);
uc_timers_add(timers, timer, 1, 0);