added prototypes needed to compile on AmigaOS 4