Removal of the MEMARRAY code from riot-boards.h now requires
including the memarray header in every file where memarray_init()
and memarray_alloc() are used.
Change-Id: I96f881c540da098174561fac6533d05b127ca00f
The pre-processor macro MEMARRAY helps declaring and initializing the
buffer and memarray_t structure that are required by memarray_init().
Change-Id: I9f9732881469d7163c5710b3ffd0e46d86a9fb66
This change fixes the invocation of the MEMARRAY macro and
memarray_init() to conform with the proposed API in [1].
[1] https://github.com/RIOT-OS/RIOT/pull/7651/
Change-Id: Iaede8ac17dfef758e54cd4072d58212c64ca4b08
The code has been cleaned up to
1. provide proper prototypes for functions that take no arguments (void),
2. avoid signedness issues, and
3. provide missing cases for switch statements.
Change-Id: I9e84ddb9ef6594c374ad817330a43b22642ebb33