Re: [PATCH v1 1/1] list: Remove redundant 'extern' for function prototypes
From: Andrew Morton
Date: Sat May 03 2025 - 22:35:50 EST
On Fri, 2 May 2025 15:17:42 +0300 Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> The 'extern' keyword is redundant for function prototypes.
> list.h never used them and new code in general is better
> without them.
>
> ...
>
>
> -extern bool __list_valid_slowpath __list_del_entry_valid_or_report(struct list_head *entry);
> +bool __list_valid_slowpath __list_del_entry_valid_or_report(struct list_head *entry);
>
I'll apply this because you continue to do significant work on list.h
but I don't want to spend the next 5 years buried in little "remove
externs" patches!