Commit f6ed5bf
committed
Refactored errno and ifaddrs compatibility
- Moved missing error code definitions to util.c where they are used.
- Refactored ENAVAIL usage in nvme.c to use a custom, local error code definition, since it was being used as an internal flag anyway.
- Removed ifaddrs struct (not needed).
- Cleaned up build warnings in ocp-nvme.c1 parent 3824169 commit f6ed5bf
4 files changed
Lines changed: 17 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 61 | | |
84 | 62 | | |
85 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7353 | 7353 | | |
7354 | 7354 | | |
7355 | 7355 | | |
| 7356 | + | |
| 7357 | + | |
| 7358 | + | |
7356 | 7359 | | |
7357 | 7360 | | |
7358 | 7361 | | |
| |||
7394 | 7397 | | |
7395 | 7398 | | |
7396 | 7399 | | |
7397 | | - | |
| 7400 | + | |
7398 | 7401 | | |
7399 | 7402 | | |
7400 | 7403 | | |
| |||
7449 | 7452 | | |
7450 | 7453 | | |
7451 | 7454 | | |
7452 | | - | |
| 7455 | + | |
7453 | 7456 | | |
7454 | 7457 | | |
7455 | 7458 | | |
| |||
7565 | 7568 | | |
7566 | 7569 | | |
7567 | 7570 | | |
7568 | | - | |
| 7571 | + | |
7569 | 7572 | | |
7570 | 7573 | | |
7571 | 7574 | | |
| |||
7908 | 7911 | | |
7909 | 7912 | | |
7910 | 7913 | | |
7911 | | - | |
| 7914 | + | |
7912 | 7915 | | |
7913 | 7916 | | |
7914 | 7917 | | |
| |||
8747 | 8750 | | |
8748 | 8751 | | |
8749 | 8752 | | |
8750 | | - | |
| 8753 | + | |
8751 | 8754 | | |
8752 | 8755 | | |
8753 | 8756 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
296 | 295 | | |
297 | 296 | | |
298 | 297 | | |
| |||
1433 | 1432 | | |
1434 | 1433 | | |
1435 | 1434 | | |
1436 | | - | |
1437 | 1435 | | |
1438 | 1436 | | |
1439 | 1437 | | |
| |||
0 commit comments