Commit 76e4fed
lib: move freader into buildid.h
Move struct freader and prototypes of the functions operating on it into
the buildid.h.
This allows reusing freader outside buildid, e.g. for file dynptr
support added later.
Signed-off-by: Mykyta Yatsenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>1 parent 531b87d commit 76e4fed
3 files changed
+31
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4648 | 4648 | | |
4649 | 4649 | | |
4650 | 4650 | | |
| 4651 | + | |
4651 | 4652 | | |
4652 | 4653 | | |
4653 | 4654 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
21 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 14 | + | |
| 15 | + | |
35 | 16 | | |
36 | 17 | | |
37 | 18 | | |
| |||
40 | 21 | | |
41 | 22 | | |
42 | 23 | | |
43 | | - | |
| 24 | + | |
44 | 25 | | |
45 | 26 | | |
46 | 27 | | |
| |||
92 | 73 | | |
93 | 74 | | |
94 | 75 | | |
95 | | - | |
| 76 | + | |
96 | 77 | | |
97 | 78 | | |
98 | 79 | | |
| |||
147 | 128 | | |
148 | 129 | | |
149 | 130 | | |
150 | | - | |
| 131 | + | |
151 | 132 | | |
152 | 133 | | |
153 | 134 | | |
| |||
0 commit comments