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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user