Re: Use func(void) for functions with no parameters - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Use func(void) for functions with no parameters
Date
Msg-id aTBg4go8hGybzrXr@nathan
Whole thread Raw
In response to Re: Use func(void) for functions with no parameters  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Responses Re: Use func(void) for functions with no parameters
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: Buffer locking is special (hints, checksums, AIO writes)
Next
From: Ignat Remizov
Date:
Subject: Re: [PATCH] Add enable_copy_program GUC to control COPY PROGRAM