summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-12 15:26:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-12 15:26:27 (GMT)
commit19d8ff62c56686e2c07979778a64661229c62a64 (patch)
tree72de2a9bac1693435bbc7b11aba109f51ef94955 /generic/tclIO.h
parent100d8f950dbcdf50e48c8d257a98ee915c043e30 (diff)
downloadtcl-19d8ff62c56686e2c07979778a64661229c62a64.zip
tcl-19d8ff62c56686e2c07979778a64661229c62a64.tar.gz
tcl-19d8ff62c56686e2c07979778a64661229c62a64.tar.bz2
Eliminate (internal) TclOffset() usage, just use offsetof() in stead.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r--generic/tclIO.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h
index 15f0f78..d10f268 100644
--- a/generic/tclIO.h
+++ b/generic/tclIO.h
@@ -50,7 +50,7 @@ typedef struct ChannelBuffer {
* structure. */
} ChannelBuffer;
-#define CHANNELBUFFER_HEADER_SIZE TclOffset(ChannelBuffer, buf)
+#define CHANNELBUFFER_HEADER_SIZE offsetof(ChannelBuffer, buf)
/*
* How much extra space to allocate in buffer to hold bytes from previous