]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/clists.h
tableprinter: code cleanup
[libucw.git] / ucw / clists.h
index 7148ff1fb3ea0d36b2971f6297ce21c5e807d665..d327479fdd8924f2807b0c94bb26d75e6ac84376 100644 (file)
@@ -203,9 +203,9 @@ static inline void clist_move(clist *to, clist *from)
 /**
  * Compute the number of nodes in @l. Beware of linear time complexity.
  **/
-static inline uns clist_size(clist *l)
+static inline uint clist_size(clist *l)
 {
-  uns i = 0;
+  uint i = 0;
   CLIST_FOR_EACH(cnode *, n, *l)
     i++;
   return i;
@@ -249,8 +249,8 @@ static inline void *clist_unlink_tail(clist *l)
  * previous and next pointers equal to NULL. Returns 0 or 1.
  *
  * Nodes initialized to all zeroes are unlinked, inserting a node anywhere in a list
- * makes it linked. Normal removal functions like clist_remove() do not mark nodes
- * as unlinked, you need to call clist_unlink() instead.
+ * makes it linked. Normal removal functions like @clist_remove() do not mark nodes
+ * as unlinked, you need to call @clist_unlink() instead.
  **/
 static inline int clist_is_linked(cnode *n)
 {