diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-28 21:40:39 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-28 21:40:39 +0000 |
commit | f4d82deb36b857c6d60d9f31b60d58665a8d6216 (patch) | |
tree | 3c170c5886305b7cc397e42572c8faba20f58411 /src/jtag/usbprog.c | |
parent | 185870615c350660626be835e6bbca37733c3135 (diff) | |
download | riscv-openocd-f4d82deb36b857c6d60d9f31b60d58665a8d6216.zip riscv-openocd-f4d82deb36b857c6d60d9f31b60d58665a8d6216.tar.gz riscv-openocd-f4d82deb36b857c6d60d9f31b60d58665a8d6216.tar.bz2 |
Uwe Hermann <uwe@hermann-uwe.de> One of them is fixing a few compiler warnings (see attached patch) and
likely also one (non-cosmetic) bug (the 'id_buff' change, which seems to
be a buffer overflow).
git-svn-id: svn://svn.berlios.de/openocd/trunk@1293 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/usbprog.c')
-rw-r--r-- | src/jtag/usbprog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/usbprog.c b/src/jtag/usbprog.c index 419ad4e..be05011 100644 --- a/src/jtag/usbprog.c +++ b/src/jtag/usbprog.c @@ -93,7 +93,7 @@ struct usbprog_jtag struct usbprog_jtag * usbprog_jtag_handle; -struct usbprog_jtag* usbprog_jtag_open(); +struct usbprog_jtag* usbprog_jtag_open(void); void usbprog_jtag_close(struct usbprog_jtag *usbprog_jtag); void usbprog_jtag_init(struct usbprog_jtag *usbprog_jtag); unsigned char usbprog_jtag_message(struct usbprog_jtag *usbprog_jtag, char *msg, int msglen); @@ -405,7 +405,7 @@ void usbprog_reset(int trst, int srst) struct usb_bus *busses; -struct usbprog_jtag* usbprog_jtag_open() +struct usbprog_jtag* usbprog_jtag_open(void) { struct usb_bus *bus; struct usb_device *dev; |