summary refs log tree commit diff stats
path: root/scripts/git-submodule.sh
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2023-06-08 08:56:31 -0500
committerEric Blake <eblake@redhat.com>2023-07-19 15:25:27 -0500
commit8d2931dc85695e39be9db1d1cc55e0c3ca46fbe9 (patch)
tree37d7793cffde1bba0c6f6b7a83917309a4b841b6 /scripts/git-submodule.sh
parentf47b6eab8372fef45cdc711c5a904df82de3aecf (diff)
downloadfocaccia-qemu-8d2931dc85695e39be9db1d1cc55e0c3ca46fbe9.tar.gz
focaccia-qemu-8d2931dc85695e39be9db1d1cc55e0c3ca46fbe9.zip
nbd: Consistent typedef usage in header
We had a mix of struct declarations followed by typedefs, and direct
struct definitions as part of a typedef.  Pick a single style.  Also
float forward declarations of opaque types to the top of the file,
rather than interspersed with function declarations, which will help a
future patch that wants to expose yet another opaque type that will be
referenced in NBDRequest.  No semantic impact.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230608135653.2918540-3-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
[eblake: alter patch per mailing list feedback]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions