X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=tests%2Flib.h;h=f2dd6291169aa0183e84dc17ab4e7d560c33a714;hb=97a000748a1a4ca7370121af0c84d0e2281d527a;hp=cefe0438d7a4a201d73e600906e81dd76a33b629;hpb=4960aeb03533f503c32c50cdd94277d561112c1a;p=libsigrok.git
diff --git a/tests/lib.h b/tests/lib.h
index cefe0438..f2dd6291 100644
--- a/tests/lib.h
+++ b/tests/lib.h
@@ -14,8 +14,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
#ifndef LIBSIGROK_TESTS_LIB_H
@@ -23,6 +22,8 @@
#include
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
+
extern struct sr_context *srtest_ctx;
void srtest_setup(void);
@@ -51,5 +52,6 @@ Suite *suite_strutil(void);
Suite *suite_version(void);
Suite *suite_device(void);
Suite *suite_trigger(void);
+Suite *suite_analog(void);
#endif