Skip to content

Commit 686b47b

Browse files
committed
Fix typedef redefinition that busted the build on some compilers (moritz++ for reporting).
1 parent 84c2256 commit 686b47b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/6model/sixmodelobject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ typedef struct {
7070
/* S-Tables (short for Shared Table) contains the commonalities shared between
7171
* a (HOW, REPR) pairing (for example, (HOW for the class Dog, P6Opaque). */
7272
typedef struct SixModel_REPROps REPROps;
73-
typedef struct SixModel_STable {
73+
struct SixModel_STable {
7474
/* The representation operation table. */
7575
REPROps *REPR;
7676

@@ -140,7 +140,7 @@ typedef struct SixModel_STable {
140140

141141
/* The PMC that wraps this s-table. */
142142
PMC *stable_pmc;
143-
} STable;
143+
};
144144

145145
/* A representation is what controls the layout of an object and access and
146146
* manipulation of the memory it manages. This includes attribute storage

0 commit comments

Comments
 (0)