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

From Tom Lane
Subject Re: Use func(void) for functions with no parameters
Date
Msg-id 640317.1764774941@sss.pgh.pa.us
Whole thread Raw
In response to Re: Use func(void) for functions with no parameters  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Responses Re: Use func(void) for functions with no parameters
List 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 by date:

Previous
From: Ignat Remizov
Date:
Subject: Re: [PATCH] Add enable_copy_program GUC to control COPY PROGRAM
Next
From: Andres Freund
Date:
Subject: Re: Cleanup shadows variable warnings, round 1