Make compare_packet follow memcmp semantics and export to other modules
authorJonathan McDowell <noodles@earth.li>
Mon, 25 Apr 2011 01:47:24 +0000 (18:47 -0700)
committerJonathan McDowell <noodles@earth.li>
Mon, 25 Apr 2011 01:47:24 +0000 (18:47 -0700)
commitb3fb0618da777d1ce58418ab36bc4321f5cf77ef
tree435b86af11995e6330687854de6fd31d10a6d397
parentf93d57195dfa072ca6fea0c76428fde5337bcabc
Make compare_packet follow memcmp semantics and export to other modules

  compare_packet is potentially useful elsewhere, but rather than a
  true/false comparison provide -1/0/1 for less than/equal/greater
  than, as memcmp does.
merge.c
merge.h