diff options
author | Greg Kurz <groug@kaod.org> | 2018-01-08 11:18:22 +0100 |
---|---|---|
committer | Greg Kurz <groug@kaod.org> | 2018-01-08 11:18:22 +0100 |
commit | 8e71b96c62d4d3b5e757ca84ba12424ce10ea7d3 (patch) | |
tree | f0df16f150c68f839aceeec759b271e543bb5740 /hw/9pfs/9p.c | |
parent | 1a8d0bb31a02f492cb8c77b3022e652bc288da7c (diff) | |
download | qemu-8e71b96c62d4d3b5e757ca84ba12424ce10ea7d3.zip qemu-8e71b96c62d4d3b5e757ca84ba12424ce10ea7d3.tar.gz qemu-8e71b96c62d4d3b5e757ca84ba12424ce10ea7d3.tar.bz2 |
9pfs: fix some type definitions
To comply with the QEMU coding style.
Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/9pfs/9p.c')
-rw-r--r-- | hw/9pfs/9p.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index 52d4663..76f90f2 100644 --- a/hw/9pfs/9p.c +++ b/hw/9pfs/9p.c @@ -99,10 +99,10 @@ static int omode_to_uflags(int8_t mode) return ret; } -struct dotl_openflag_map { +typedef struct DotlOpenflagMap { int dotl_flag; int open_flag; -}; +} DotlOpenflagMap; static int dotl_to_open_flags(int flags) { @@ -113,7 +113,7 @@ static int dotl_to_open_flags(int flags) */ int oflags = flags & O_ACCMODE; - struct dotl_openflag_map dotl_oflag_map[] = { + DotlOpenflagMap dotl_oflag_map[] = { { P9_DOTL_CREATE, O_CREAT }, { P9_DOTL_EXCL, O_EXCL }, { P9_DOTL_NOCTTY , O_NOCTTY }, |