diff tests.c @ 771:c17eadc60c3d

Rename th_ioctx struct to th_ioctx_t, for consistency. Breaks API.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 20 Feb 2023 23:33:45 +0200
parents 600a3c08747f
children 08bbfb5239fc
line wrap: on
line diff
--- a/tests.c	Sun Feb 12 14:08:09 2023 +0200
+++ b/tests.c	Mon Feb 20 23:33:45 2023 +0200
@@ -51,7 +51,7 @@
 
 int optFlags = TST_ALL;
 
-th_ioctx testio;
+th_ioctx_t testio;
 
 
 // Define option arguments
@@ -411,7 +411,7 @@
 }
 
 
-void test_ioctx_error(th_ioctx *fh, const int val, const char *msg)
+void test_ioctx_error(th_ioctx_t *fh, const int val, const char *msg)
 {
     (void) fh;
     (void) val;
@@ -419,7 +419,7 @@
 }
 
 
-void test_ioctx_msg(th_ioctx *fh, const int val, const char *msg)
+void test_ioctx_msg(th_ioctx_t *fh, const int val, const char *msg)
 {
     (void) fh;
     (void) val;
@@ -442,7 +442,7 @@
 void test_config_read(th_cfgitem_t *cfg, const char *filename)
 {
     int nsubtest;
-    th_ioctx *fh = NULL;
+    th_ioctx_t *fh = NULL;
     test_ctx ctx;
     th_cfgitem_t *item;
 
@@ -501,7 +501,7 @@
 {
     static const char *filename = "cfg.temp";
     test_ctx ctx;
-    th_ioctx *fh = NULL;
+    th_ioctx_t *fh = NULL;
     th_cfgitem_t *sect1, *sect2, *cfg = NULL, *item;
     char *v_str1 = NULL;
     unsigned int v_uint1;