coredump: move definition out of types

Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
buxiasen 2024-11-29 21:26:14 +08:00 committed by archer
parent b75e404ec1
commit 22d5d1d9d8

View file

@ -40,7 +40,7 @@
#include <nuttx/coredump.h>
/****************************************************************************
* Private Types
* Pre-processor Definitions
****************************************************************************/
#ifdef CONFIG_BOARD_COREDUMP_COMPRESSION
@ -51,6 +51,10 @@
#define COREDUMP_FILE_SUFFIX_LEN (sizeof(COREDUMP_FILE_SUFFIX) - 1)
/****************************************************************************
* Private Types
****************************************************************************/
typedef CODE void (*dumpfile_cb_t)(FAR char *path, FAR const char *filename,
FAR void *arg);