Don't use GNodes for the protocol tree, put the sibling pointer, and
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 4 Dec 2003 10:59:34 +0000 (10:59 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 4 Dec 2003 10:59:34 +0000 (10:59 +0000)
commit89bde6a8258de710b9032a5e32ffe9346be3c45f
treebf784482d59a9572d596b1c1177beb842447717d
parente31b81049ebe70cdeebf55708d67cdbe8de4334e
Don't use GNodes for the protocol tree, put the sibling pointer, and
pointers to the first *and* last child, in the "proto_node" structure
itself.  That saves us one level of indirection and memory allocation,
and lets us append to a tree by appending to the last child directly,
rather than having to scan through the list of siblings of the first
child to find the end of that list.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9171 f5534014-38df-0310-8fa8-9805f1628bb7
epan/proto.c
epan/proto.h
file.c
gtk/proto_draw.c
gtk/rtp_analysis.c
print.c
proto_hier_stats.c
tap-protohierstat.c