]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Fix "no previous prototype" compile warning in kgdb.c file
authorVincent Chen <vincent.chen@sifive.com>
Tue, 23 Jun 2020 05:37:10 +0000 (13:37 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Fri, 10 Jul 2020 03:09:30 +0000 (20:09 -0700)
commit8d14408c9229e419c06011c92cf77437cedc07ac
tree6a0fb12af7dfcdb5083b7bbc9c8b5e812a8b29b2
parente81fc67c1e19bda54da442b0eab3019864ff269f
riscv: Fix "no previous prototype" compile warning in kgdb.c file

Some functions are only used in the kgdb.c file. Add static properities
to these functions to avoid "no previous prototype" compile warnings

Signed-off-by: Vincent Chen <vincent.chen@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/kgdb.c