forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbf183f1
committed
Get rid of anonymous struct
This is a C11 feature, and we require C99. While at it, go the furtherstep and get rid of the surrounding union (with uintptr_t) entirely,as there is currently no use case for this file to access the header ofBlocktableEntry as a uintptr_t, and there are no additional alignmentrequirements. The least invasive way seems to be to transfer the oldunion name to this struct.Reported by Pavel Borisov and Andres Freund, per buildfarm member mylodonReviewed by Pavel BorisovDiscussion:https://postgr.es/m/CALT9ZEH11NYV8AOzKb1bWhCf6J0H=H31f0MgT9xX+HdqvcA1rw@mail.gmail.com1 parentbaa82b7 commitbf183f1
1 file changed
+21
-22
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
47 | 47 |
| |
48 |
| - | |
49 |
| - | |
50 | 48 |
| |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
61 | 57 |
| |
62 | 58 |
| |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
68 | 64 |
| |
69 | 65 |
| |
70 |
| - | |
71 |
| - | |
| 66 | + | |
| 67 | + | |
72 | 68 |
| |
73 |
| - | |
74 |
| - | |
75 | 69 |
| |
76 | 70 |
| |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
77 | 76 |
| |
78 | 77 |
| |
79 | 78 |
| |
|
0 commit comments
Comments
(0)