From nobody Wed Jun 12 19:16:50 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 4VzwJg0CHvz5NHf9; Wed, 12 Jun 2024 19:16:51 +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 4VzwJf6TQmz575D; Wed, 12 Jun 2024 19:16:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718219810; 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=rEGHpHBBWfNITX1bxW9uBbn5vG+Oo/Q1aVC1XCTBxmg=; b=VgXpG2Fu1SeAJurIfoTSMTNjSJxdHjA687twYnXG+fVhFv1vGEMOooWHSP79nEjkayloL5 t5nZQRrjEIHfyuseJdHSNMGYRzFPUzAzvwcI7G7OLgkWp3h/WkxRmevOL4jsdSBhiQ5rKE HiWfh+aBaY9q/sAZp6vCy1xdKnDjhSvbRdf+n3pPVldOlefTLK5xUFssAUdPQx3mLL4ULw 1oaK6cVdGhZ+2oH0EUTMcUkXtUFBeqAORCnnf8UM7NX2kBImjdu6NrK4VeAYKHhfMm++0v v60heb9yO4ueE50QsntoQkj6zSyYTo6L/zDtxKvXBsdmJAsLEv4RoRhRv2vnxg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718219810; a=rsa-sha256; cv=none; b=gldDqzCFL6Skm5gs0LzXsHFhn2Y0/TE6FwZNzTivCQM13xeu28gB/WdAs+HNo3NS2HwcDl ojX1gTL82WhoA+mk4B2VReR8C/1M0XV56FFbF5tWSKH3KsTo0BB3CNlr9xsa1j5kJTTEM8 mpInrRr0lFu10Kxx02s68jJWHA9CctHBwwFL9hgi9il4ZdOK6hKMPnjwGZreeSknhrmcdA HRcJHOZmtSnM7yGfC8yUvWHwhP9G01HiTZ3Icvggm54BNvPoM376pgINjHd2/Izy2r27zO lp+ZFBTGBfcrTR2xG89LQcUOTp2kWlBI2ZAWbYN2Ln97r9U7aa9iDc44Gif1TA== 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=1718219810; 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=rEGHpHBBWfNITX1bxW9uBbn5vG+Oo/Q1aVC1XCTBxmg=; b=umFUqXVuSNMouPSxKofk5J6CQeMBOoCP1YE3xTs7ZjFY+LPpeD9Q9mXaRxAsUQ81bP2b+Q a7t1TinAtbmkTVMfg9e/TVU+yfI598NE2xwpNoiPYZ6FzIlE9JkvS6SSSrji/UpArWYKgQ Hn6/L9oDuxTJWMXn8+/i8O4ykhqOpxh/dTMMMcKi3i641ExQB7ngAaiCH7uSV2P9Kij1R7 AT2FTtm6tl9H7Jd8KSevN8n/Dk24xpFmGRVdJP631JR4lbUBUZAZqrKnyN2JH5f2G5TYyN YwVRnZwlSI5mkpL3OTirSrngQKUrsYTtzAmdOqQbr0XpBhGhkBHRtKZdgzjDjw== 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 4VzwJf63SQz15Dm; Wed, 12 Jun 2024 19:16:50 +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 45CJGocH004118; Wed, 12 Jun 2024 19:16:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45CJGoiM004115; Wed, 12 Jun 2024 19:16:50 GMT (envelope-from git) Date: Wed, 12 Jun 2024 19:16:50 GMT Message-Id: <202406121916.45CJGoiM004115@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 323d4a20bd20 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 323d4a20bd202463b2da29b7d7d1957671c66619 Auto-Submitted: auto-generated The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=323d4a20bd202463b2da29b7d7d1957671c66619 commit 323d4a20bd202463b2da29b7d7d1957671c66619 Author: Bjoern A. Zeeb AuthorDate: 2024-05-27 19:49:45 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-06-12 16:58:06 +0000 LinuxKPI: remove extern from function declarations Sponsored by: The FreeBSD Foundation Reviewed by: emaste (earlier version, found another two) Differential Revision: https://reviews.freebsd.org/D45386 (cherry picked from commit ecd1d1f1dac49c7ecbf1e7c5ffc64356c2851efd) --- 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 2fcc0dc05f29..e5dd2e44b0fa 100644 --- a/sys/compat/linuxkpi/common/include/linux/gfp.h +++ b/sys/compat/linuxkpi/common/include/linux/gfp.h @@ -90,15 +90,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); @@ -147,8 +147,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)