added printmessage prototype to syslib.h