git: ecd1d1f1dac4 - main - LinuxKPI: remove extern from function declarations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 May 2024 21:03:20 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=ecd1d1f1dac49c7ecbf1e7c5ffc64356c2851efd
commit ecd1d1f1dac49c7ecbf1e7c5ffc64356c2851efd
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2024-05-27 19:49:45 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
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)