]> sigrok.org Git - libsigrok.git/blobdiff - tests/check_input_all.c
Add a few unit tests for sr_trigger_*().
[libsigrok.git] / tests / check_input_all.c
index 0e2d6b6487f7cf4a490c8c87e28a903d4b76051e..feee63091be9612596b27e65a9ebc84f1ad63d5f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the libsigrok project.
  *
- * Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de>
+ * Copyright (C) 2013-2014 Uwe Hermann <uwe@hermann-uwe.de>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@
 /* Check whether at least one input module is available. */
 START_TEST(test_input_available)
 {
-       struct sr_input_format **inputs;
+       const struct sr_input_module **inputs;
 
        inputs = sr_input_list();
        fail_unless(inputs != NULL, "No input modules found.");