From: gdt Date: Mon, 22 Dec 2003 16:32:15 +0000 (+0000) Subject: note that order of = items is undefined, probably X-Git-Tag: frr-2.0-rc1~3834 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=76398034067abd80e174fea9d0d6c619de7cc679;p=matthieu%2Ffrr.git note that order of = items is undefined, probably --- diff --git a/lib/linklist.c b/lib/linklist.c index d6eeab4171..9c1b297aeb 100644 --- a/lib/linklist.c +++ b/lib/linklist.c @@ -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)