adding function prototypes

+ version 3.41.3
+ less compiler warnings