Skip to content

Commit

Permalink
fix: error: use of enum 'ExplorerTransferStates' without previous dec…
Browse files Browse the repository at this point in the history
…laration
  • Loading branch information
Danile71 committed Sep 16, 2024
1 parent 8b42928 commit 1af8619
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions swilib/include/swilib/explorer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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.
* */
Expand Down

0 comments on commit 1af8619

Please sign in to comment.