]> 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)
commitdaff0da742ea5a015d51c325648b5c3ede3f66f8
tree6a0fb12af7dfcdb5083b7bbc9c8b5e812a8b29b2
parente4df1795fd0914e02a4fd417063d8386df1b2204
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