top | item 14361898

(no title)

Garfgon | 8 years ago

I think it's backward compatibility, not speed. Functions with no arguments lists were supported in C89, so changing it now will break someone's code somewhere.

In fact not specifying a parameter list may make your code slower, as (IIRC) default argument promotions are always applied to parameters passed to such a function.

discuss

order

No comments yet.