1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-30 06:01:21 +03:00

Clear some style deviations.

This commit is contained in:
Noah Misch
2020-05-21 08:31:16 -07:00
parent e4db972ed5
commit 3350fb5d1f
11 changed files with 12 additions and 19 deletions

View File

@@ -834,7 +834,7 @@ HandleAutoVacLauncherInterrupts(void)
* Perform a normal exit from the autovac launcher.
*/
static void
AutoVacLauncherShutdown()
AutoVacLauncherShutdown(void)
{
ereport(DEBUG1,
(errmsg("autovacuum launcher shutting down")));

View File

@@ -177,7 +177,7 @@ ClockSweepTick(void)
* should not call this.
*/
bool
have_free_buffer()
have_free_buffer(void)
{
if (StrategyControl->firstFreeBuffer >= 0)
return true;

View File

@@ -1114,7 +1114,7 @@ _mdfd_openseg(SMgrRelation reln, ForkNumber forknum, BlockNumber segno,
int oflags)
{
MdfdVec *v;
int fd;
File fd;
char *fullpath;
fullpath = _mdfd_segpath(reln, forknum, segno);

View File

@@ -36,7 +36,7 @@ struct QueryEnvironment
QueryEnvironment *
create_queryEnv()
create_queryEnv(void)
{
return (QueryEnvironment *) palloc0(sizeof(QueryEnvironment));
}