use clib header files with internal functions for prototypes instead of hardcoded prototypes