mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Fix redefinition of typedef.
Per buildfarm members sifaka and longfin, clang with
-Wtypedef-redefinition warns of a duplicate typedef unless building
with C11.
Oversight in commit 40e2e5e92b
.
This commit is contained in:
@ -79,12 +79,12 @@ typedef struct UpgradeTaskStep
|
||||
* This struct is a thin wrapper around an array of steps, i.e.,
|
||||
* UpgradeTaskStep, plus a PQExpBuffer for all the query strings.
|
||||
*/
|
||||
typedef struct UpgradeTask
|
||||
struct UpgradeTask
|
||||
{
|
||||
UpgradeTaskStep *steps;
|
||||
int num_steps;
|
||||
PQExpBuffer queries;
|
||||
} UpgradeTask;
|
||||
};
|
||||
|
||||
/*
|
||||
* The different states for a parallel slot.
|
||||
|
Reference in New Issue
Block a user