X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Ffallback.c;h=9a4a536b232126ab3d85182070e240f8a34d2a4a;hb=1d80e1c64140bb74857042751c460962b445cb35;hp=897694d7330e2252cc53dac4aad2b7fb1c7df48c;hpb=24287ea9e3dd0c6f7fc2299eaf725346b8c1fea2;p=libsigrok.git
diff --git a/src/fallback.c b/src/fallback.c
index 897694d7..9a4a536b 100644
--- a/src/fallback.c
+++ b/src/fallback.c
@@ -17,19 +17,22 @@
* along with this program. If not, see .
*/
+#include
#include
-#include "config.h"
-#include "libsigrok.h"
+#include
#ifndef HAVE_LIBSERIALPORT
SR_API GSList *sr_serial_list(const struct sr_dev_driver *driver)
{
- return NULL;
+ (void)driver;
+
+ return NULL;
}
SR_API void sr_serial_free(struct sr_serial_port *serial)
{
+ (void)serial;
}
#endif