[riot-notifications] [RIOT-OS/RIOT] tests/malloc: cleanup (#12216)
notifications at github.com
Fri Sep 13 00:41:16 CEST 2019
### Contribution description
When looking at the old malloc test, some cosmetic improvements come to mind:
- make local functions / variables static
- adhere to the 80 column limit
- don't increment total if head could not be allocated
- allow to overwrite CHUNK_SIZE
The functionality remains the same.
### Testing procedure
### Issues/PRs references
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* tests/malloc: cleanup
-- File Changes --
M tests/malloc/main.c (18)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications