lxc_fuse: Hide struct virLXCFuse

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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Michal Privoznik 2020-04-13 15:59:55 +02:00
parent 89cc0ffdeb
commit 2cf223b261
2 changed files with 9 additions and 8 deletions

View File

@ -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)

View File

@ -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);