1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-22 12:22:45 +03:00

Remove bogus "extern" annotations on function definitions.

While this is not illegal C, project style is to put "extern" only on
declarations not definitions.

David Rowley

Discussion: https://postgr.es/m/CAKJS1f9RKLWXcMBQhvDYhmsMEo+ALuNgA-NE+AX5Uoke9DJ2Xg@mail.gmail.com
This commit is contained in:
Tom Lane
2018-02-19 12:07:44 -05:00
parent 8c44802b6e
commit 524d64ea8e
7 changed files with 15 additions and 15 deletions

View File

@@ -4023,7 +4023,7 @@ ResetReindexPending(void)
* EstimateReindexStateSpace
* Estimate space needed to pass reindex state to parallel workers.
*/
extern Size
Size
EstimateReindexStateSpace(void)
{
return offsetof(SerializedReindexState, pendingReindexedIndexes)
@@ -4034,7 +4034,7 @@ EstimateReindexStateSpace(void)
* SerializeReindexState
* Serialize reindex state for parallel workers.
*/
extern void
void
SerializeReindexState(Size maxsize, char *start_address)
{
SerializedReindexState *sistate = (SerializedReindexState *) start_address;
@@ -4052,7 +4052,7 @@ SerializeReindexState(Size maxsize, char *start_address)
* RestoreReindexState
* Restore reindex state in a parallel worker.
*/
extern void
void
RestoreReindexState(void *reindexstate)
{
SerializedReindexState *sistate = (SerializedReindexState *) reindexstate;