Re: Use func(void) for functions with no parameters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Use func(void) for functions with no parameters
Дата
Msg-id 640317.1764774941@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Use func(void) for functions with no parameters  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Ответы Re: Use func(void) for functions with no parameters
Список pgsql-hackers
Matthias van de Meent <boekewurm+postgres@gmail.com> writes:
> I noticed the only changes here are for `static` definitions. Are we
> just more careful with normal functions, or does the compiler complain
> more easily about such "incomplete" definitions when they're in
> headers or need to be linked against?

Some years ago we had a buildfarm animal that would complain about
this construct, so the tree used to be clean.  Probably it's just
chance that these have only snuck into local functions.

            regards, tom lane



В списке pgsql-hackers по дате отправления: