lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Empty parameters lists were already deprecated in C89.

§6.7.5.3-14 Function declarators (including prototypes)

§6.11.6 Function declarators
> The use of function declarators with empty parentheses (not
> prototype-format parameter type declarators) is an obsolescent
> feature.

See GCC warnings old-style-declaration and old-style-definition.

-- Antonin
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org