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

Philippe Mathieu-Daudé posted 5 patches 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230605175647.88395-1-philmd@linaro.org
Maintainers: 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>, Peter Xu <peterx@redhat.com>, Leonardo Bras <leobras@redhat.com>
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 ++--
include/exec/memory_ldst.h.inc | 42 +++++++++++++++++-----------------
tcg/tcg-op-vec.c               | 11 ---------
tests/migration/stress.c       |  2 +-
util/cacheflush.c              |  4 ++--
23 files changed, 82 insertions(+), 100 deletions(-)
[PATCH v2 0/5] bulk: Do not declare function prototypes using 'extern' keyword
Posted by Philippe Mathieu-Daudé 11 months ago
Since v2:
- Do not change variable declarations in "block/dmg.h" (danpb)
- Rebased
- Added R-b from v1

v1:
- Remove the 'extern' keyword on function prototypes declared
  in header.
- Replace __attribute__((noreturn)) -> G_NORETURN
- Trivial cleanups to keep the previous commits generic.

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

Philippe Mathieu-Daudé (5):
  util/cacheflush: Use declarations from <OSCacheControl.h> on Darwin
  tcg/tcg-op-vec: Remove left over _link_error() definitions
  qemu/uri: Use QueryParams type definition
  bulk: Do not declare function prototypes using 'extern' keyword
  bulk: Replace __attribute__((noreturn)) -> G_NORETURN

 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 ++--
 include/exec/memory_ldst.h.inc | 42 +++++++++++++++++-----------------
 tcg/tcg-op-vec.c               | 11 ---------
 tests/migration/stress.c       |  2 +-
 util/cacheflush.c              |  4 ++--
 23 files changed, 82 insertions(+), 100 deletions(-)

-- 
2.38.1