Merge elfcap.c and avl.c
fix superfluous semicolon