Per buildfarm members sifaka and longfin, clang with
-Wtypedef-redefinition warns of a duplicate typedef unless building
with C11.
Oversight in commit
40e2e5e92b.
* 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.