Commit 7152f5c
committed
linux: reduce the number of includes
Forward declare the three data structs and thus avoid to include
nvme/ioctl.h and nvme/types.h. This reduces the inter dependencies
between the headers and simplifies any porting attempts.
Signed-off-by: Daniel Wagner <[email protected]>1 parent f1daa1e commit 7152f5c
1 file changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | | - | |
16 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | | - | |
559 | | - | |
0 commit comments