diff --git a/src/util-device.c b/src/util-device.c index 18450937e5..e493428038 100644 --- a/src/util-device.c +++ b/src/util-device.c @@ -41,6 +41,11 @@ static LiveDevStorageId g_bypass_storage_id = { .id = -1 }; static TAILQ_HEAD(, LiveDevice_) live_devices = TAILQ_HEAD_INITIALIZER(live_devices); +typedef struct LiveDeviceName_ { + char *dev; /**< the device (e.g. "eth0") */ + TAILQ_ENTRY(LiveDeviceName_) next; +} LiveDeviceName; + /** List of the name of devices * * As we don't know the size of the Storage on devices diff --git a/src/util-device.h b/src/util-device.h index e5569694e7..53c730cc49 100644 --- a/src/util-device.h +++ b/src/util-device.h @@ -67,11 +67,6 @@ typedef struct LiveDevice_ { Storage storage[]; } LiveDevice; -typedef struct LiveDeviceName_ { - char *dev; /**< the device (e.g. "eth0") */ - TAILQ_ENTRY(LiveDeviceName_) next; -} LiveDeviceName; - void LiveDevRegisterExtension(void); int LiveRegisterDeviceName(const char *dev);