x86/boot: Add missing strchr() declaration
authorTommy Nguyen <remyabel@gmail.com>
Fri, 23 Jun 2017 14:36:01 +0000 (10:36 -0400)
committerIngo Molnar <mingo@kernel.org>
Sat, 24 Jun 2017 06:53:33 +0000 (08:53 +0200)
commit6ec829a9d1c8562ac15c50402e5de550bb28161e
treeaaafda7c08414872835f76f4ff729fa931e803cc
parent94a6df251dd08c6436ebd6d10c68f03659148ce1
x86/boot: Add missing strchr() declaration

The Sparse static analyzer emits this warning:

    symbol 'strchr' was not declared. Should it be static?

This patch adds the appropriate extern declaration to string.h
to fix the warning.

Signed-off-by: Tommy Nguyen <remyabel@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170623143601.GA20743@NoChina
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/boot/string.h