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:
Nathan Bossart 2024-09-16 16:33:50 -05:00
parent c880cf2588
commit 1bbf1e2f1a

View File

@ -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.