]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kstrtox: Drop extern keyword in the simple_strtox() declarations
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 31 Mar 2026 06:57:36 +0000 (17:57 +1100)
committerChristian Brauner <brauner@kernel.org>
Thu, 21 May 2026 07:32:46 +0000 (09:32 +0200)
commita2faa0e062db577a0b2e76bea632e924c63c132f
treed321608d1b9e264d86c6a7e1e3b74b1f746d5cc8
parent54d30551e460b74b171a6d4a1b49157999d68247
kstrtox: Drop extern keyword in the simple_strtox() declarations

There is legacy 'extern' keyword for the exported simple_strtox()
function which are the artefact that can be removed. So drop it.

While at it, tweak the declaration to provide parameter names.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260331070519.5974-7-ddiss@suse.de
Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/linux/kstrtox.h