This structure is not used outside of lxc_fuse.c. There is no need to define it in the header file. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- src/lxc/lxc_fuse.c | 9 +++++++++ src/lxc/lxc_fuse.h | 8 -------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/lxc/lxc_fuse.c b/src/lxc/lxc_fuse.c index e75a533c70..7b95629955 100644 --- a/src/lxc/lxc_fuse.c +++ b/src/lxc/lxc_fuse.c @@ -37,6 +37,15 @@ #if WITH_FUSE +struct virLXCFuse { + virDomainDef *def; + virThread thread; + char *mountpoint; + struct fuse *fuse; + struct fuse_chan *ch; + virMutex lock; +}; + static const char *fuse_meminfo_path = "/meminfo"; static int lxcProcGetattr(const char *path, struct stat *stbuf) diff --git a/src/lxc/lxc_fuse.h b/src/lxc/lxc_fuse.h index 54a0a74155..34a59667d4 100644 --- a/src/lxc/lxc_fuse.h +++ b/src/lxc/lxc_fuse.h @@ -41,14 +41,6 @@ struct virLXCMeminfo { unsigned long long swapusage; }; -struct virLXCFuse { - virDomainDef *def; - virThread thread; - char *mountpoint; - struct fuse *fuse; - struct fuse_chan *ch; - virMutex lock; -}; typedef struct virLXCFuse virLXCFuse; int lxcSetupFuse(struct virLXCFuse **f, virDomainDef *def); -- 2.34.1