Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1bbf1e2

Browse files
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 40e2e5e.
1 parent c880cf2 commit 1bbf1e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_upgrade/task.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ typedef struct UpgradeTaskStep
7979
* This struct is a thin wrapper around an array of steps, i.e.,
8080
* UpgradeTaskStep, plus a PQExpBuffer for all the query strings.
8181
*/
82-
typedef struct UpgradeTask
82+
struct UpgradeTask
8383
{
8484
UpgradeTaskStep *steps;
8585
int num_steps;
8686
PQExpBuffer queries;
87-
} UpgradeTask;
87+
};
8888

8989
/*
9090
* The different states for a parallel slot.

0 commit comments

Comments
 (0)