Commit 3a67b0b
committed
rtapi: stop exporting the vsnprintf implementation
rtapi_vsnprintf.h is 475 lines of implementation, not an interface, and the
only code that includes it is rtai_rtapi.c beside it and the unit test. The
documented entry point, rtapi_vsnprintf(), is declared in rtapi.h and stays
exported, so nothing an out-of-tree component may legitimately call moves.
The header goes to rtapi/ and rtai_rtapi.c takes it from its own directory.
The three exported headers it pulls in go angled, since they are no longer
beside it.
tests/rtapi_printf.0 compiles the header, so it now needs the source tree and
is skipped on installed packages, the same way tests/blendmath already is.1 parent cd3913c commit 3a67b0b
4 files changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
0 commit comments