OSDN Git Service

tty: rocket: fix incorrect forward declaration of 'rp_init()'
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 May 2019 18:28:23 +0000 (11:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 May 2019 18:28:23 +0000 (11:28 -0700)
commit423ea3255424b954947d167681b71ded1b8fca53
treea8d4b55d4d7b04782dd2f3d435cb533165ac8734
parent9a91ad929f9a719c0c734abe791a27ab9444cd61
tty: rocket: fix incorrect forward declaration of 'rp_init()'

Make the forward declaration actually match the real function
definition, something that previous versions of gcc had just ignored.

This is another patch to fix new warnings from gcc-9 before I start the
merge window pulls.  I don't want to miss legitimate new warnings just
because my system update brought a new compiler with new warnings.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/tty/rocket.c