adding function prototypes

+ version 3.41.3
+ less compiler warnings
fix issue #3 -B option shows wrong total number of results
Merge branch 'develop'