extern double atof ARGS_DECL((const char *));
If it causes any problem, please let me know. In general, I recommand using the -D_NO_EXTERN and -D_NO_PROTO compile options and not using ANSI because, as far as I can see, multi-platform ANSI standard does not works, yet. It seems that it always need some tweeking.