linux/arch/mips/emma/markeins
Arnd Bergmann 42b76a1d6d MIPS: Avoid old-style declaration
gcc warns about nonstandard declarations:

arch/mips/sgi-ip32/ip32-irq.c:31:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
arch/mips/sgi-ip32/ip32-irq.c:36:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
arch/mips/sgi-ip27/ip27-klnuma.c: In function 'replicate_kernel_text':
arch/mips/sgi-ip27/ip27-klnuma.c:85:116: error: old-style function definition [-Werror=old-style-definition]

Moving 'inline' before the return type, and adding argument types
shuts up the warning here. This patch affects several platforms,
but all in a trivial way. I'm fixing up all instances I found in
any of the 'defconfig' builds.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15050/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-01-25 02:51:11 +01:00
..
irq.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
led.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
Makefile MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
platform.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
setup.c MIPS: Avoid old-style declaration 2017-01-25 02:51:11 +01:00