diff th_ioctx.c @ 772:1959ba53e9dc

Fix th_ioctx_t_ops -> th_ioctx_ops_t
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 20 Feb 2023 23:36:33 +0200
parents c17eadc60c3d
children
line wrap: on
line diff
--- a/th_ioctx.c	Mon Feb 20 23:33:45 2023 +0200
+++ b/th_ioctx.c	Mon Feb 20 23:36:33 2023 +0200
@@ -32,7 +32,7 @@
 }
 
 
-th_ioctx_t * th_io_new(const th_ioctx_t_ops *fops, const char *filename, const char *mode)
+th_ioctx_t * th_io_new(const th_ioctx_ops_t *fops, const char *filename, const char *mode)
 {
     th_ioctx_t *ctx = th_malloc(sizeof(th_ioctx_t));
     if (ctx == NULL)
@@ -61,7 +61,7 @@
 }
 
 
-int th_io_fopen(th_ioctx_t **pctx, const th_ioctx_t_ops *fops, const char *filename, const char *mode)
+int th_io_fopen(th_ioctx_t **pctx, const th_ioctx_ops_t *fops, const char *filename, const char *mode)
 {
     th_ioctx_t *ctx;
     int res;