Commit da483f8b authored by Carlos Llamas's avatar Carlos Llamas Committed by Greg Kroah-Hartman

binder: remove extern from function prototypes

The kernel coding style does not require 'extern' in function prototypes
in .h files, so remove them from drivers/android/binder_alloc.h as they
are not needed.

No functional changes in this patch.
Reviewed-by: default avatarAlice Ryhl <aliceryhl@google.com>
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20231201172212.1813387-9-cmllamas@google.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e1090371
...@@ -121,27 +121,27 @@ static inline void binder_selftest_alloc(struct binder_alloc *alloc) {} ...@@ -121,27 +121,27 @@ static inline void binder_selftest_alloc(struct binder_alloc *alloc) {}
enum lru_status binder_alloc_free_page(struct list_head *item, enum lru_status binder_alloc_free_page(struct list_head *item,
struct list_lru_one *lru, struct list_lru_one *lru,
spinlock_t *lock, void *cb_arg); spinlock_t *lock, void *cb_arg);
extern struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc, struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
size_t data_size, size_t data_size,
size_t offsets_size, size_t offsets_size,
size_t extra_buffers_size, size_t extra_buffers_size,
int is_async, int is_async,
int pid); int pid);
extern void binder_alloc_init(struct binder_alloc *alloc); void binder_alloc_init(struct binder_alloc *alloc);
extern int binder_alloc_shrinker_init(void); int binder_alloc_shrinker_init(void);
extern void binder_alloc_shrinker_exit(void); void binder_alloc_shrinker_exit(void);
extern void binder_alloc_vma_close(struct binder_alloc *alloc); void binder_alloc_vma_close(struct binder_alloc *alloc);
extern struct binder_buffer * struct binder_buffer *
binder_alloc_prepare_to_free(struct binder_alloc *alloc, binder_alloc_prepare_to_free(struct binder_alloc *alloc,
uintptr_t user_ptr); uintptr_t user_ptr);
extern void binder_alloc_free_buf(struct binder_alloc *alloc, void binder_alloc_free_buf(struct binder_alloc *alloc,
struct binder_buffer *buffer); struct binder_buffer *buffer);
extern int binder_alloc_mmap_handler(struct binder_alloc *alloc, int binder_alloc_mmap_handler(struct binder_alloc *alloc,
struct vm_area_struct *vma); struct vm_area_struct *vma);
extern void binder_alloc_deferred_release(struct binder_alloc *alloc); void binder_alloc_deferred_release(struct binder_alloc *alloc);
extern int binder_alloc_get_allocated_count(struct binder_alloc *alloc); int binder_alloc_get_allocated_count(struct binder_alloc *alloc);
extern void binder_alloc_print_allocated(struct seq_file *m, void binder_alloc_print_allocated(struct seq_file *m,
struct binder_alloc *alloc); struct binder_alloc *alloc);
void binder_alloc_print_pages(struct seq_file *m, void binder_alloc_print_pages(struct seq_file *m,
struct binder_alloc *alloc); struct binder_alloc *alloc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment