]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/slists.h
Xtypes: Documentation
[libucw.git] / ucw / slists.h
index 961748f30f86332ca024c5c6a67969dc9b7982bc..1325c12376878974f74d682e599d396b6f792654 100644 (file)
@@ -176,9 +176,9 @@ static inline void slist_remove_tail(slist *l)
 /**
  * Compute the number of nodes in @l. Beware linear time complexity.
  **/
 /**
  * Compute the number of nodes in @l. Beware linear time complexity.
  **/
-static inline uns slist_size(slist *l)
+static inline uint slist_size(slist *l)
 {
 {
-  uns i = 0;
+  uint i = 0;
   SLIST_FOR_EACH(snode *, n, *l)
     i++;
   return i;
   SLIST_FOR_EACH(snode *, n, *l)
     i++;
   return i;