fix prototypes
enable ljmphdl.h header file to be used directly by C++ compiler