From nobody Mon Apr 24 15:54:13 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q4qSQ22jtz471Ht; Mon, 24 Apr 2023 15:54:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q4qSQ02Pmz40by; Mon, 24 Apr 2023 15:54:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682351654; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xlOBQMX0ej4NQLH+BUFUHToQyK9M2RpPo7qJwJltpTo=; b=JEGQ0/w2LVa0lnmWeXGAHsajRKInjH1up2qAk2seL2lRWC7ZWobGFhWrvXOrdDv3osNjvy nPHK47N/65T58spcaX+RrSdw1+LwrN7AYZyvBHIC27KjE46tONFaZ2vsVDyzTSEnv5hQ48 vIHi5mSG13144NqEjeY/l4e7seCd8YKs9VbF1ODnBEdEOeNAn2buSHJK3HdkGtThrDxcWi emb5EDEgwcH98DulODGSToyxDg5bVkOs5U6h7csMFKZiNWhh9Ex56fCJBEmGTRiUEzso0y prWePvq1JBvRMWZ1O+8p2+zPfVTws1H2ge6e5qafSr0zZZb9IWhJjuZe+gSxHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682351654; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xlOBQMX0ej4NQLH+BUFUHToQyK9M2RpPo7qJwJltpTo=; b=mw6GIK4e3Lb0nCcHFkVu1l8VWCzW6Qm+O9FMyAg7UZrxy9UaQAmBJbwm1QHkGZm2U+GqCq A+eU065lsCjgaw3BPSUpQIigRFU//WwXORH63qOK4aCX9VH5fRrjnAMsSwKcKKLiAl9fuL 8MtJ2XPepP3Loiypc8Wj8whs/fLrZDH6zZtc9qFi/Zs63uq56PyKxNiP4MvfjWuJzAixTK K6GvFKwJhMSGG5I2SwiWWj6xm/+Qcrkg5A2krC4N48a1VwUmIhA1JI0gKPMP7QymP2Ft75 mzHId7JBb2puWe8/4KpRAZ93mPwVvHjTTDKwwIHsaANH0YWjjjC6Osc+oPt98g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682351654; a=rsa-sha256; cv=none; b=DHd/lShA3upddpWhxeFlRlwmfk3PsV0JaIcspGzAINoelD23IiJjYE4FYQXYuNffDLbvjP /KuDUz2e/cdn44phZYeEI7zpC+t1wJ/hmXc/CZaphv32i2zMfQN4Wz1NKMIGTDRlqQu27x fzVcVnCmjfH/H4yVGkDg7u6IoJ4w4SOu9rXiEEyy30W3TuhUWDO0ymv6j7/RlaxrSy0hWh w2kH76RFk/0ryC/VRj1LJHbCJExeR/1H0odYPSuGsAHeR2oD+p26Jp05SgkjVBNXyGDlDK 7oV8agf9jhWE+uK2qzI0wiZXuOKifQBED4QA7Of0kmofwp9x7GBaBPkjQDrLUg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q4qSP6DkbzXBK; Mon, 24 Apr 2023 15:54:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33OFsDsQ000039; Mon, 24 Apr 2023 15:54:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33OFsDws000038; Mon, 24 Apr 2023 15:54:13 GMT (envelope-from git) Date: Mon, 24 Apr 2023 15:54:13 GMT Message-Id: <202304241554.33OFsDws000038@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 9b02f2daf448 - main - powerpc: Use valid prototypes for function declarations with no arguments. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9b02f2daf4480ef5926d61e5a605d028ace0b522 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=9b02f2daf4480ef5926d61e5a605d028ace0b522 commit 9b02f2daf4480ef5926d61e5a605d028ace0b522 Author: John Baldwin AuthorDate: 2023-04-24 15:53:50 +0000 Commit: John Baldwin CommitDate: 2023-04-24 15:53:50 +0000 powerpc: Use valid prototypes for function declarations with no arguments. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39733 --- sys/contrib/ncsw/user/env/core.c | 2 +- sys/powerpc/aim/mmu_oea.c | 4 ++-- sys/powerpc/booke/pmap.c | 6 +++--- sys/powerpc/cpufreq/mpc85xx_jog.c | 2 +- sys/powerpc/powerpc/elf32_machdep.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/contrib/ncsw/user/env/core.c b/sys/contrib/ncsw/user/env/core.c index 751867526fe2..5a2e811fc8e0 100644 --- a/sys/contrib/ncsw/user/env/core.c +++ b/sys/contrib/ncsw/user/env/core.c @@ -33,7 +33,7 @@ #include "types_ext.h" #include "core_ext.h" -uint32_t E500_GetId() +uint32_t E500_GetId(void) { return PCPU_GET(cpuid); } diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index d646312eff4a..1e4e93c7b874 100644 --- a/sys/powerpc/aim/mmu_oea.c +++ b/sys/powerpc/aim/mmu_oea.c @@ -1311,7 +1311,7 @@ moea_extract_and_hold(pmap_t pmap, vm_offset_t va, vm_prot_t prot) } void -moea_init() +moea_init(void) { moea_upvo_zone = uma_zcreate("UPVO entry", sizeof (struct pvo_entry), @@ -2775,7 +2775,7 @@ moea_dumpsys_map(vm_paddr_t pa, size_t sz, void **va) extern struct dump_pa dump_map[PHYS_AVAIL_SZ + 1]; void -moea_scan_init() +moea_scan_init(void) { struct pvo_entry *pvo; vm_offset_t va; diff --git a/sys/powerpc/booke/pmap.c b/sys/powerpc/booke/pmap.c index bed0b2b4b174..606669a07b2f 100644 --- a/sys/powerpc/booke/pmap.c +++ b/sys/powerpc/booke/pmap.c @@ -1054,7 +1054,7 @@ mmu_booke_kextract(vm_offset_t va) * system needs to map virtual memory. */ static void -mmu_booke_init() +mmu_booke_init(void) { int shpgperproc = PMAP_SHPGPERPROC; @@ -2119,7 +2119,7 @@ mmu_booke_dumpsys_unmap(vm_paddr_t pa, size_t sz, void *va) extern struct dump_pa dump_map[PHYS_AVAIL_SZ + 1]; void -mmu_booke_scan_init() +mmu_booke_scan_init(void) { vm_offset_t va; pte_t *pte; @@ -2822,7 +2822,7 @@ tlb1_mapin_region(vm_offset_t va, vm_paddr_t pa, vm_size_t size, int wimge) * assembler level setup done in locore.S. */ void -tlb1_init() +tlb1_init(void) { vm_offset_t mas2; uint32_t mas0, mas1, mas3, mas7; diff --git a/sys/powerpc/cpufreq/mpc85xx_jog.c b/sys/powerpc/cpufreq/mpc85xx_jog.c index edced1237d71..31b3143cc42c 100644 --- a/sys/powerpc/cpufreq/mpc85xx_jog.c +++ b/sys/powerpc/cpufreq/mpc85xx_jog.c @@ -121,7 +121,7 @@ static struct ofw_compat_data jog_compat[] = { }; static struct ofw_compat_data * -mpc85xx_jog_devcompat() +mpc85xx_jog_devcompat(void) { phandle_t node; int i; diff --git a/sys/powerpc/powerpc/elf32_machdep.c b/sys/powerpc/powerpc/elf32_machdep.c index c518080ebad3..7a035361b83f 100644 --- a/sys/powerpc/powerpc/elf32_machdep.c +++ b/sys/powerpc/powerpc/elf32_machdep.c @@ -407,7 +407,7 @@ elf_cpu_unload_file(linker_file_t lf __unused) } static void -ppc32_runtime_resolve() +ppc32_runtime_resolve(void) { /*