forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2a7b2d9
committed
Improve InitShmemAccess() prototype
The code comment said, 'the argument should be declared "PGShmemHeader*seghdr", but we use void to avoid having to include ipc.h inshmem.h.' We can achieve the original goal with a struct forwarddeclaration. (ipc.h was also not the correct header file.)Discussion:https://www.postgresql.org/message-id/flat/cnthxg2eekacrejyeonuhiaezc7vd7o2uowlsbenxqfkjwgvwj@qgzu6eoqrglb1 parente15e567 commit2a7b2d9
2 files changed
+6
-10
lines changedLines changed: 4 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
92 | 92 |
| |
93 | 93 |
| |
94 | 94 |
| |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 | 95 |
| |
99 | 96 |
| |
100 |
| - | |
| 97 | + | |
101 | 98 |
| |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
107 | 102 |
| |
108 | 103 |
| |
109 | 104 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
|
0 commit comments
Comments
(0)