diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 17:06:16 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 17:06:16 +0800 |
commit | 46781080347af4f207cec108dfc2f96da61dcbfa (patch) | |
tree | 80126f85a4d87219bdd70e719576910a45d8796b /src/pld/pld.c | |
parent | ec1c90e3cd53446939b4655f55166bff6b3d39f4 (diff) | |
download | riscv-openocd-46781080347af4f207cec108dfc2f96da61dcbfa.zip riscv-openocd-46781080347af4f207cec108dfc2f96da61dcbfa.tar.gz riscv-openocd-46781080347af4f207cec108dfc2f96da61dcbfa.tar.bz2 |
PLD: review scope of functions
Add "static" qualifier to private functions.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/pld/pld.c')
-rw-r--r-- | src/pld/pld.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pld/pld.c b/src/pld/pld.c index 5ed7596..90067e3 100644 --- a/src/pld/pld.c +++ b/src/pld/pld.c @@ -206,7 +206,8 @@ static const struct command_registration pld_exec_command_handlers[] = { }, COMMAND_REGISTRATION_DONE }; -int pld_init(struct command_context *cmd_ctx) + +static int pld_init(struct command_context *cmd_ctx) { if (!pld_devices) return ERROR_OK; |