[PATCH-for-8.1 0/5] bulk: Do not declare function prototypes using 'extern' keyword

Philippe Mathieu-Daudé posted 5 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230320134219.22489-1-philmd@linaro.org
Maintainers: Stefan Hajnoczi <stefanha@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, "Daniel P. Berrangé" <berrange@redhat.com>, Stefano Stabellini <sstabellini@kernel.org>, Anthony Perard <anthony.perard@citrix.com>, Paul Durrant <paul@xen.org>, "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Andrew Jeffery <andrew@aj.id.au>, Joel Stanley <joel@jms.id.au>, Tyrone Ting <kfting@nuvoton.com>, Hao Wu <wuhaotsh@google.com>, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Richard Henderson <richard.henderson@linaro.org>, Stefan Weil <sw@weilnetz.de>, Riku Voipio <riku.voipio@iki.fi>, Marcelo Tosatti <mtosatti@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Juan Quintela <quintela@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>
There is a newer version of this series
block/dmg.h                    |  8 +++----
bsd-user/bsd-file.h            |  6 ++---
crypto/hmacpriv.h              | 13 +++++------
hw/xen/xen_pt.h                |  8 +++----
include/crypto/secret_common.h | 14 +++++-------
include/exec/page-vary.h       |  4 ++--
include/hw/misc/aspeed_scu.h   |  2 +-
include/hw/nvram/npcm7xx_otp.h |  4 ++--
include/hw/qdev-core.h         |  4 ++--
include/qemu/crc-ccitt.h       |  4 ++--
include/qemu/osdep.h           |  4 ++--
include/qemu/rcu.h             | 14 ++++++------
include/qemu/sys_membarrier.h  |  4 ++--
include/qemu/uri.h             |  6 ++---
include/sysemu/accel-blocker.h | 14 ++++++------
include/sysemu/os-win32.h      |  4 ++--
include/user/safe-syscall.h    |  4 ++--
target/i386/sev.h              |  6 ++---
target/mips/cpu.h              |  4 ++--
tcg/tcg-internal.h             |  4 ++--
tests/tcg/minilib/minilib.h    |  2 +-
include/exec/memory_ldst.h.inc | 42 +++++++++++++++++-----------------
block/dmg.c                    |  6 -----
tests/migration/stress.c       |  2 +-
roms/seabios                   |  2 +-
25 files changed, 86 insertions(+), 99 deletions(-)
[PATCH-for-8.1 0/5] bulk: Do not declare function prototypes using 'extern' keyword
Posted by Philippe Mathieu-Daudé 1 year, 1 month ago
- Remove the 'extern' keyword on function prototypes declared
  in header.
- Replace __attribute__((noreturn)) -> G_NORETURN
- Trivial cleanups to keep the previous commits generic.

TODO: Add a rule in scripts/checkpatch.pl :)

Based-on: <20230320131426.16348-1-philmd@linaro.org>

Philippe Mathieu-Daudé (5):
  qemu/osdep.h: Do not declare function prototypes using extern keyword
  block/dmg: Remove duplicated prototype declarations
  qemu/uri: Use QueryParams type definition
  bulk: Do not declare function prototypes using extern keyword
  bulk: Replace __attribute__((noreturn)) -> G_NORETURN

 block/dmg.h                    |  8 +++----
 bsd-user/bsd-file.h            |  6 ++---
 crypto/hmacpriv.h              | 13 +++++------
 hw/xen/xen_pt.h                |  8 +++----
 include/crypto/secret_common.h | 14 +++++-------
 include/exec/page-vary.h       |  4 ++--
 include/hw/misc/aspeed_scu.h   |  2 +-
 include/hw/nvram/npcm7xx_otp.h |  4 ++--
 include/hw/qdev-core.h         |  4 ++--
 include/qemu/crc-ccitt.h       |  4 ++--
 include/qemu/osdep.h           |  4 ++--
 include/qemu/rcu.h             | 14 ++++++------
 include/qemu/sys_membarrier.h  |  4 ++--
 include/qemu/uri.h             |  6 ++---
 include/sysemu/accel-blocker.h | 14 ++++++------
 include/sysemu/os-win32.h      |  4 ++--
 include/user/safe-syscall.h    |  4 ++--
 target/i386/sev.h              |  6 ++---
 target/mips/cpu.h              |  4 ++--
 tcg/tcg-internal.h             |  4 ++--
 tests/tcg/minilib/minilib.h    |  2 +-
 include/exec/memory_ldst.h.inc | 42 +++++++++++++++++-----------------
 block/dmg.c                    |  6 -----
 tests/migration/stress.c       |  2 +-
 roms/seabios                   |  2 +-
 25 files changed, 86 insertions(+), 99 deletions(-)

-- 
2.38.1