m32r: fix build warning about putc
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 14 Jul 2016 19:07:43 +0000 (12:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jul 2016 05:54:27 +0000 (14:54 +0900)
commit9babed6a66b5577628d9e76e5a6cb6104d7ddd4c
tree56f99457f24e7a779947215bd8b11f80c0623e53
parentd3d36c4b5c5fbdd68542be73ffd53eb210fbf7cf
m32r: fix build warning about putc

We were getting build warning:

  arch/m32r/boot/compressed/m32r_sio.c:11:13:
     warning: conflicting types for built-in function 'putc'

Here putc is used as a static function so lets just rename it to avoid
the conflict with the builtin putc.

Link: http://lkml.kernel.org/r/1466977046-24724-1-git-send-email-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/boot/compressed/m32r_sio.c