diff options
author | Daniel Anselmi <danselmi@gmx.ch> | 2023-07-25 23:31:54 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-08-12 16:47:44 +0000 |
commit | 1233de5f903bf55c76feaf2d248fbb6fe90365ab (patch) | |
tree | 6be3ec21ece8e442d70626b9f302bb82af41683b /src/pld/lattice.c | |
parent | 307a3ca10996283697356a4835f3152dd00a9a0c (diff) | |
download | riscv-openocd-1233de5f903bf55c76feaf2d248fbb6fe90365ab.zip riscv-openocd-1233de5f903bf55c76feaf2d248fbb6fe90365ab.tar.gz riscv-openocd-1233de5f903bf55c76feaf2d248fbb6fe90365ab.tar.bz2 |
pld: fix sparser warnings
Change-Id: I31c5b19cd93ac41b026f824337488c9aa9b12439
Signed-off-by: Daniel Anselmi <danselmi@gmx.ch>
Reviewed-on: https://review.openocd.org/c/openocd/+/7828
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/pld/lattice.c')
-rw-r--r-- | src/pld/lattice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pld/lattice.c b/src/pld/lattice.c index 2075f44..018cb26 100644 --- a/src/pld/lattice.c +++ b/src/pld/lattice.c @@ -319,7 +319,7 @@ static int lattice_load_command(struct pld_device *pld_device, const char *filen return retval; } -int lattice_get_ipdbg_hub(int user_num, struct pld_device *pld_device, struct pld_ipdbg_hub *hub) +static int lattice_get_ipdbg_hub(int user_num, struct pld_device *pld_device, struct pld_ipdbg_hub *hub) { if (!pld_device) return ERROR_FAIL; |