Commit 8d38036
authored
Use stdioERRNO_THREAD_LOCAL_OFFSET macro for ERRNO setter/getter (#82)
Use stdioERRNO_THREAD_LOCAL_OFFSET macro for ERRNO setter/getter
Description
-----------
The previously used ffconfigCWD_THREAD_LOCAL_INDEX has the same value
but the stdioERRNO_THREAD_LOCAL_OFFSET macro is more concise.
The compilation will be unchanged as the preprocessor will generate the
same output as before.
Test Steps
-----------
No need to test. This is just for more clarity in the codebase and
navigation.
Checklist:
----------
<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
- [ ] I have tested my changes. No regression in existing tests.
- [ ] I have modified and/or added unit-tests to cover the code changes
in this Pull Request.
Related Issue
-----------
<!-- If any, please provide issue ID. -->
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.1 parent a395e7b commit 8d38036
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments