From b378b205c9e7ec3a3be9a1b76e587960bfbf1c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Mon, 21 Jan 2013 23:11:13 +0100 Subject: [PATCH] Make it clear whcih member s are internal and external --- include/ucore/ucore_timers.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/ucore/ucore_timers.h b/include/ucore/ucore_timers.h index 72a7879..b3d496a 100644 --- a/include/ucore/ucore_timers.h +++ b/include/ucore/ucore_timers.h @@ -22,7 +22,7 @@ enum { typedef void (*uc_timer_cb)(struct UCTimers *timers, struct UCTimer *timer); struct UCTimer { - //internal members + //Internal members RBNode rb_node; //the RBNode will hold a data pointer to the //the UCTimer it's a member of. We might get rid of that member, and use CONTAINER_OF //to find the UCTimer from a RBNode @@ -34,6 +34,8 @@ struct UCTimer { unsigned char state; TAILQ_ENTRY(UCTimer) ready_entry; //entry in ready_list in UCTimers + //External members + //callback function uc_timer_cb callback;