From 1af8619e35fdb9dc9ce6ae848b40467508f6c514 Mon Sep 17 00:00:00 2001 From: Daniil Korekovcev Date: Mon, 16 Sep 2024 10:38:05 +0300 Subject: [PATCH] fix: error: use of enum 'ExplorerTransferStates' without previous declaration --- swilib/include/swilib/explorer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/swilib/include/swilib/explorer.h b/swilib/include/swilib/explorer.h index bbaa515b..9353c381 100644 --- a/swilib/include/swilib/explorer.h +++ b/swilib/include/swilib/explorer.h @@ -15,6 +15,11 @@ __swilib_begin +enum ExplorerTransferStates { + EXPLORER_TRANSFER_STATE_STOP = 1, + EXPLORER_TRANSFER_STATE_RUNNING = 2, +}; + typedef enum ExplorerTransferStates ExplorerTransferStates; typedef struct NativeExplorerData NativeExplorerData; @@ -27,11 +32,6 @@ typedef struct REGEXPLEXT TREGEXPLEXT; typedef struct REGEXPLEXT_ARM_NEW TREGEXPLEXT; #endif -enum ExplorerTransferStates { - EXPLORER_TRANSFER_STATE_STOP = 1, - EXPLORER_TRANSFER_STATE_RUNNING = 2, -}; - /** * Mode of the NativeExplorer. * */