mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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)
This commit is contained in:
parent
31c476da2d
commit
04131cf076
1 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue