diff options
| author | Stefan Weil | 2014-02-19 06:11:45 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2014-03-02 14:12:41 +0100 |
| commit | 55e7c29e46f845f503fda3e8cac3f5e0e8b3d984 (patch) | |
| tree | 89f148b484c700b6ce99ba0976e6380a02ce4458 /include/qapi | |
| parent | bswap: Modify prototype of stb_p (avoid type conversions) (diff) | |
| download | qemu-55e7c29e46f845f503fda3e8cac3f5e0e8b3d984.tar.gz qemu-55e7c29e46f845f503fda3e8cac3f5e0e8b3d984.tar.xz qemu-55e7c29e46f845f503fda3e8cac3f5e0e8b3d984.zip | |
bswap: Modify prototypes of st[wl]_{le, be}_p (avoid type conversions)
The functions use uint16_t or uint32_t values, so show this in the function
prototypes. Non-optimizing compilers will avoid unnecessary type
conversions when generating calls of these inline functions.
stq_le_p, stq_be_p already use similar prototypes.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/qapi')
0 files changed, 0 insertions, 0 deletions
