mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-22 21:37:35 -08:00
Bug: https://bugs.gentoo.org/597138 Bug: https://bugs.gentoo.org/729708 Bug: https://bugs.gentoo.org/742170 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
40 lines
962 B
Diff
40 lines
962 B
Diff
--- a/src/jtag2usb.cc
|
|
+++ b/src/jtag2usb.cc
|
|
@@ -739,7 +739,7 @@
|
|
|
|
#ifdef HAVE_LIBUSB_2_0
|
|
/* USB thread */
|
|
-static void *usb_thread(void * data __unused)
|
|
+static void *usb_thread(void * data)
|
|
{
|
|
struct pollfd fds[2];
|
|
|
|
--- a/src/jtag3io.cc
|
|
+++ b/src/jtag3io.cc
|
|
@@ -350,12 +350,12 @@
|
|
throw jtag_exception("doSimpleJtagCommand(): too many failures");
|
|
}
|
|
|
|
-void jtag3::changeBitRate(int newBitRate __unused)
|
|
+void jtag3::changeBitRate(int newBitRate)
|
|
{
|
|
throw;
|
|
}
|
|
|
|
-bool jtag3::synchroniseAt(int bitrate __unused)
|
|
+bool jtag3::synchroniseAt(int bitrate)
|
|
{
|
|
throw;
|
|
}
|
|
--- a/src/jtag3prog.cc
|
|
+++ b/src/jtag3prog.cc
|
|
@@ -106,7 +106,7 @@
|
|
}
|
|
|
|
|
|
-void jtag3::downloadToTarget(const char* filename __unused, bool program __unused, bool verify __unused)
|
|
+void jtag3::downloadToTarget(const char* filename, bool program, bool verify)
|
|
{
|
|
statusOut("\nDownload not done.\n");
|
|
throw jtag_exception("Target programming not implemented for JTAGICE3");
|