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

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Use func(void) for functions with no parameters
Дата
Msg-id aTBg4go8hGybzrXr@nathan
обсуждение исходный текст
Ответ на Re: Use func(void) for functions with no parameters  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Ответы Re: Use func(void) for functions with no parameters
Список pgsql-hackers
On Wed, Dec 03, 2025 at 03:53:37PM +0000, Bertrand Drouvot wrote:
> The buildfarm animal remark makes me think to check with -Wstrict-prototypes
> and -Wold-style-definition. I just did that and found two more (added in v2
> attached) that the coccinelle script missed...
> 
> Those new two (run_apply_worker() and usage()) are also static, so that's just
> chance.

LGTM, too.  I'll take care of committing this shortly.

-- 
nathan



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