diff options
-rw-r--r-- | src/dalist_debug.c | 2 | ||||
-rw-r--r-- | src/dalist_impl.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/dalist_debug.c b/src/dalist_debug.c index f466989..3c4018f 100644 --- a/src/dalist_debug.c +++ b/src/dalist_debug.c @@ -119,7 +119,7 @@ static int dalist_dbg_write_nt( size_t nbyte) { void * hfile; - dalist_iosb iosb; + struct dalist_iosb iosb; dalist_write_file * pfn_write_file; hfile = (void *)fildes_or_hfile; diff --git a/src/dalist_impl.h b/src/dalist_impl.h index 97cef11..d80c65e 100644 --- a/src/dalist_impl.h +++ b/src/dalist_impl.h @@ -27,13 +27,13 @@ typedef dalist_memfn_nt_allocvm memfn_allocvm; #define dalist_errno(x) errno #endif -typedef struct _dalist_io_status_block { +struct dalist_iosb { union { int32_t status; void * pointer; }; intptr_t info; -} dalist_io_status_block, dalist_iosb; +}; typedef int dalist_dbg_write( |