forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit927f34c
committed
Avoid conflicts with library versions of inet_net_ntop() and friends.
Prefix inet_net_ntop and sibling routines with "pg_" to ensure thatthey aren't mistaken for C-library functions. This fixes warningsfrom cpluspluscheck on some platforms, and should help reduce readerconfusion everywhere, since our functions aren't exactly interchangeablewith the library versions (they may have different ideas about addressfamily codes).This shouldn't be fixing any actual bugs, unless somebody's linkeris misbehaving, so no need to back-patch.Discussion:https://postgr.es/m/20518.1559494394@sss.pgh.pa.us1 parent232720b commit927f34c
File tree
8 files changed
+39
-38
lines changed- src
- backend/utils/adt
- include
- utils
- interfaces/libpq
- port
8 files changed
+39
-38
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| |||
241 | 241 |
| |
242 | 242 |
| |
243 | 243 |
| |
244 |
| - | |
| 244 | + | |
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
|
Lines changed: 12 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
95 |
| - | |
| 94 | + | |
| 95 | + | |
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
| |||
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
148 |
| - | |
149 |
| - | |
| 148 | + | |
| 149 | + | |
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
| |||
1192 | 1192 |
| |
1193 | 1193 |
| |
1194 | 1194 |
| |
1195 |
| - | |
1196 |
| - | |
| 1195 | + | |
| 1196 | + | |
1197 | 1197 |
| |
1198 | 1198 |
| |
1199 | 1199 |
| |
| |||
1217 | 1217 |
| |
1218 | 1218 |
| |
1219 | 1219 |
| |
1220 |
| - | |
1221 |
| - | |
| 1220 | + | |
| 1221 | + | |
1222 | 1222 |
| |
1223 | 1223 |
| |
1224 | 1224 |
| |
| |||
1240 | 1240 |
| |
1241 | 1241 |
| |
1242 | 1242 |
| |
1243 |
| - | |
1244 |
| - | |
| 1243 | + | |
| 1244 | + | |
1245 | 1245 |
| |
1246 | 1246 |
| |
1247 | 1247 |
| |
| |||
1258 | 1258 |
| |
1259 | 1259 |
| |
1260 | 1260 |
| |
1261 |
| - | |
1262 |
| - | |
| 1261 | + | |
| 1262 | + | |
1263 | 1263 |
| |
1264 | 1264 |
| |
1265 | 1265 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
503 | 503 |
| |
504 | 504 |
| |
505 | 505 |
| |
506 |
| - | |
507 |
| - | |
| 506 | + | |
| 507 | + | |
508 | 508 |
| |
509 | 509 |
| |
510 | 510 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
91 |
| - | |
| 90 | + | |
| 91 | + | |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
95 |
| - | |
| 94 | + | |
| 95 | + | |
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
|
Lines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1539 | 1539 |
| |
1540 | 1540 |
| |
1541 | 1541 |
| |
1542 |
| - | |
1543 |
| - | |
1544 |
| - | |
1545 |
| - | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
1546 | 1546 |
| |
1547 | 1547 |
| |
1548 | 1548 |
| |
1549 | 1549 |
| |
1550 | 1550 |
| |
1551 |
| - | |
1552 |
| - | |
1553 |
| - | |
1554 |
| - | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
1555 | 1555 |
| |
1556 | 1556 |
| |
1557 | 1557 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
387 | 387 |
| |
388 | 388 |
| |
389 | 389 |
| |
390 |
| - | |
391 |
| - | |
392 |
| - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
393 | 394 |
| |
394 | 395 |
| |
395 | 396 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 |
| - | |
| 64 | + | |
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
| 71 | + | |
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 |
| - | |
| 77 | + | |
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
|
0 commit comments
Comments
(0)