From nobody Thu May 30 21:03:20 2024 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 4VqzHX31Zzz5LQ6g; Thu, 30 May 2024 21:03:20 +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 4VqzHX1qLrz4T1Y; Thu, 30 May 2024 21:03:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717103000; 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=v6SvcbaoIGRBwlJt100OMIQBQGAsXsWsrYl7zyMZ2Xs=; b=TXUBLrSV7dTKP3SbAP2sPOrD9dgA5T74V/yXCDhX8vXjpJVGGXO+vFTYTRteFAhO1pgZof k53hR3EIemOIwyem9rzO1Wpj0ArMiCKAGV0/7xGPtTNfn6nSqXnFRG6OwIFI2AfSm1MW1Q R22IrSLrVFU5xTAZK5jyyBI7KK44bz+r62FI/VFH8/ONrLhdXJiVxUnPUxFMV/l0aWM9PH 3ChqCOvuNoVSJ2pYSqj9Jz100XN31z2QdCNktOoWwG4s536pBiGIV+BDdBKANTL7YEQXiP +/uO44YLUgic1y0Lspxkfl0t7AEvCloDVNyN8slZy9BumWWPJ2hpvGW9KnGeRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717103000; a=rsa-sha256; cv=none; b=MPenOfHkbEmBYQW8RWuzX/MxN8R23xDCIGoFsPgm1K72pXyhFnZVL4nLLFoXssjn/Hy03/ eC5mdW/AWPoKJS2w4aoEzwAbzoBUwzG3Rr96Sf1z+izG6PX+06vOAjIdfUYgR0kYb1PCBn QMdL+ePINEGPYv2HIEf/u39f+TWTlJISycR6oOvQLvMkBG+MSIu8eS8LuGKdJGoDpxHX6Z U1Do3ekEvSDME/bO21gCcmLlkCCa44BAoLRf6c1BnhR6vjiYvylMEo/V64HynajUpEx6vh WiSG3qmZ1qbI8QM/HPwcXdWGWrAD2UYjy/Wf8aR0uYfIP60eMV1PJVVezn3EHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717103000; 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=v6SvcbaoIGRBwlJt100OMIQBQGAsXsWsrYl7zyMZ2Xs=; b=Ec9PAFEgZuLSKfse5dMWoTVWoDMxiZmbAx13aD2TZEvjEfUi7hdyS0bql8J76At1/CsRVO i7ElPNLMhwjR/CqEdtJQwM/mtLEEkWODm1qIGp13kGk04yg45W58KSTmbml3ZgW0eVdh1R o1V7tgoGK2AV8I+H+1ruNi3dt4wQVxJ2XQglaAghGIbCd9iQm8z4nw3Vg3JNdGWqMavpZ6 xCw2UbryyR153x5R6Ow+u8JfNsfNDmdgjUwy1IIijncAUPDlSKjEN/FaqfRZyr2M2CdxTS W0deK5tLqk4U9wWdoSNqNhrd0LZjgvhNmgT3T9Y8ypnz4GD0O0REAYqpmhvXvg== 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 4VqzHX17H3zwbn; Thu, 30 May 2024 21:03:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44UL3KXq091469; Thu, 30 May 2024 21:03:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44UL3KdQ091466; Thu, 30 May 2024 21:03:20 GMT (envelope-from git) Date: Thu, 30 May 2024 21:03:20 GMT Message-Id: <202405302103.44UL3KdQ091466@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: ecd1d1f1dac4 - main - LinuxKPI: remove extern from function declarations 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ecd1d1f1dac49c7ecbf1e7c5ffc64356c2851efd Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=ecd1d1f1dac49c7ecbf1e7c5ffc64356c2851efd commit ecd1d1f1dac49c7ecbf1e7c5ffc64356c2851efd Author: Bjoern A. Zeeb AuthorDate: 2024-05-27 19:49:45 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-05-30 21:01:57 +0000 LinuxKPI: remove extern from function declarations Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste (earlier version, found another two) Differential Revision: https://reviews.freebsd.org/D45386 --- sys/compat/linuxkpi/common/include/linux/gfp.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/compat/linuxkpi/common/include/linux/gfp.h b/sys/compat/linuxkpi/common/include/linux/gfp.h index f6cce379924d..8a0ce489f19f 100644 --- a/sys/compat/linuxkpi/common/include/linux/gfp.h +++ b/sys/compat/linuxkpi/common/include/linux/gfp.h @@ -89,15 +89,15 @@ struct page_frag_cache { * * NOTE: This function only works for pages allocated by the kernel. */ -extern void *linux_page_address(struct page *); +void *linux_page_address(struct page *); #define page_address(page) linux_page_address(page) /* * Page management for unmapped pages: */ -extern struct page *linux_alloc_pages(gfp_t flags, unsigned int order); -extern void linux_free_pages(struct page *page, unsigned int order); +struct page *linux_alloc_pages(gfp_t flags, unsigned int order); +void linux_free_pages(struct page *page, unsigned int order); void *linuxkpi_page_frag_alloc(struct page_frag_cache *, size_t, gfp_t); void linuxkpi_page_frag_free(void *); void linuxkpi__page_frag_cache_drain(struct page *, size_t); @@ -146,8 +146,8 @@ dev_alloc_pages(unsigned int order) /* * Page management for mapped pages: */ -extern vm_offset_t linux_alloc_kmem(gfp_t flags, unsigned int order); -extern void linux_free_kmem(vm_offset_t, unsigned int order); +vm_offset_t linux_alloc_kmem(gfp_t flags, unsigned int order); +void linux_free_kmem(vm_offset_t, unsigned int order); static inline vm_offset_t get_zeroed_page(gfp_t flags)