Re: extern keyword incorrectly used in some function definitions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: extern keyword incorrectly used in some function definitions
Date: 2018-02-19 17:09:02
Message-ID: 24180.1519060142@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> writes:
> While poking around partition.c I noticed that one of the functions
> there is *defined* as "extern". Normally we'd only do this in the
> declaration of the function. I don't really see why it's needed in the
> definition.
> Anyway, I removed it. I then thought I'd better look around for any
> others too...
> A patch is attached which removes them all, apart from the snowball
> ones. I didn't touch those.

Agreed. The snowball stuff is just imported from elsewhere, so we're
not going to try to make it conform to project style. But the rest
of these look good; pushed.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2018-02-19 17:27:51 Re: pgbench - allow to specify scale as a size
Previous Message Mark Wong 2018-02-19 17:00:41 Re: pgbench - allow to specify scale as a size