Content-Length: 266389 | pFad | http://github.com/postgrespro/postgres/commit/1bbf1e2f1a077905037272cd4767e952f34c02b3

B2 Fix redefinition of typedef. · postgrespro/postgres@1bbf1e2 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/1bbf1e2f1a077905037272cd4767e952f34c02b3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy