diff options
author | midipix <writeonce@midipix.org> | 2016-10-16 12:18:01 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-10-16 12:18:01 -0400 |
commit | 0f8a8b9a6a91d3fec35368ca0a3f9b0b19edf46a (patch) | |
tree | 125b42666e1379f3a2cfb61fb8b3fa51dc4fdb82 /src | |
parent | 620842dbe56134530bd8cc8d23204f1a8dd35a2a (diff) | |
download | dalist-0f8a8b9a6a91d3fec35368ca0a3f9b0b19edf46a.tar.bz2 dalist-0f8a8b9a6a91d3fec35368ca0a3f9b0b19edf46a.tar.xz |
free-standing environment: internals: code maintenance.
Diffstat (limited to 'src')
-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( |