Refactor: move FFInitState to settings.c

This commit is contained in:
Linus Dierheimer
2022-07-25 11:24:50 +02:00
parent f18ffe3239
commit ac96cfc748
2 changed files with 7 additions and 7 deletions
+7
View File
@@ -4,6 +4,13 @@
#include <pthread.h>
#include <string.h>
typedef enum FFInitState
{
FF_INITSTATE_UNINITIALIZED = 0,
FF_INITSTATE_SUCCESSFUL = 1,
FF_INITSTATE_FAILED = 2
} FFInitState;
#define FF_LIBRARY_DATA_LOAD_INIT(dataObject, userLibraryName, ...) \
static dataObject data; \
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; \
-7
View File
@@ -378,13 +378,6 @@ typedef struct FFpropquery
FFstrbuf* buffer;
} FFpropquery;
typedef enum FFInitState
{
FF_INITSTATE_UNINITIALIZED = 0,
FF_INITSTATE_SUCCESSFUL = 1,
FF_INITSTATE_FAILED = 2
} FFInitState;
//////////////////////
// Common functions //
//////////////////////