]> git.proxmox.com Git - mirror_frr.git/commitdiff
note that order of = items is undefined, probably
authorgdt <gdt>
Mon, 22 Dec 2003 16:32:15 +0000 (16:32 +0000)
committergdt <gdt>
Mon, 22 Dec 2003 16:32:15 +0000 (16:32 +0000)
lib/linklist.c

index d6eeab4171786ed85624bf682ca10c73aa32471a..9c1b297aeb605556f78b20e75261f96c3fe2b033 100644 (file)
@@ -85,6 +85,10 @@ listnode_add (struct list *list, void *val)
  * cmp function, insert a new node with the given val such that the
  * list remains sorted.  The new node is always inserted; there is no
  * notion of omitting duplicates.
+ * 
+ * XXX not sure this is right:
+ * It is currently undefined whether new nodes for which cmp returns 0
+ * should be added before or after any existing nodes.
  */
 void
 listnode_add_sort (struct list *list, void *val)