kernel/log_dump.c : Fix build error and warning
1. Build Error
log_dump/log_dump.c: In function 'log_dump_save':
log_dump/log_dump.c:135:18: error: storage size of 'mem' isn't known
struct mallinfo mem;
2. Build Warning
log_dump/log_dump.c:63:1: warning: useless storage class specifier in empty declaration
};
#include <tinyara/sched.h>
#include <stdint.h>
+#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
* Private Type Declarations
****************************************************************************/
-static struct log_dump_chunk_s {
+struct log_dump_chunk_s {
struct log_dump_chunk_s *flink;
char arr[CONFIG_LOG_DUMP_CHUNK_SIZE];
};
