mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
fsdev: open brace '{' following struct go on the same line
I found some style problems while check the code using checkpatch.pl. This commit fixs the issue below: ERROR: open brace '{' following struct go on the same line Signed-off-by: zhouyang <zhouyang789@huawei.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20201209060735.2760943-1-zhouyang789@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
f6a3c86ebd
commit
87b804ec4c
2 changed files with 5 additions and 10 deletions
|
@ -1,21 +1,18 @@
|
|||
#ifndef QEMU_9P_MARSHAL_H
|
||||
#define QEMU_9P_MARSHAL_H
|
||||
|
||||
typedef struct V9fsString
|
||||
{
|
||||
typedef struct V9fsString {
|
||||
uint16_t size;
|
||||
char *data;
|
||||
} V9fsString;
|
||||
|
||||
typedef struct V9fsQID
|
||||
{
|
||||
typedef struct V9fsQID {
|
||||
uint8_t type;
|
||||
uint32_t version;
|
||||
uint64_t path;
|
||||
} V9fsQID;
|
||||
|
||||
typedef struct V9fsStat
|
||||
{
|
||||
typedef struct V9fsStat {
|
||||
int16_t size;
|
||||
int16_t type;
|
||||
int32_t dev;
|
||||
|
@ -35,8 +32,7 @@ typedef struct V9fsStat
|
|||
int32_t n_muid;
|
||||
} V9fsStat;
|
||||
|
||||
typedef struct V9fsIattr
|
||||
{
|
||||
typedef struct V9fsIattr {
|
||||
int32_t valid;
|
||||
int32_t mode;
|
||||
int32_t uid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue