fixes indentation
removes inline declaration

Removing the inline attribute because it leads to various compiler
warnings. Also if it was worth it, a good compiler would inline
these functions automatically. When done with the rewrite we might
have to reevaluate this change.
fixes indentation
improves ld.c code
cleanup profile.c
clean up piComp.c
fixes wrong call to asnprintf
cleanup filterPro.c

 * fixes indentation
 * fixes types (int -> size_t)
 * fixes comparison function
 * fixes memory leak
 * rewrote some code