inline?

Artem B. Bityuckiy abityuckiy@yandex.ru
Fri Apr 2 21:53:00 GMT 2004


Hello.

Newlib tries to take care about K&R compatibility. For example, "_CONST" 
macro is used instead of "const" modifier, etc. Is it K&R-compatible to 
use "inline" modifier? Is there some wrapper for "inline" ?

Also, isn't it more efficient to use "inline" directives for those 
functions, who has reentrant analog? These functions consist of on call 
to reentrant "brother". Isn't "inline" usage disagree C standards where 
function's prototypes are rigidly defined?

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.



More information about the Newlib mailing list