summaryrefslogtreecommitdiffstats
path: root/generic/tclIORTrans.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-03-19 14:56:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-03-19 14:56:45 (GMT)
commitc740da6bc26ac29aeb5b548f7e350fd15ec1f890 (patch)
treebcfa89065ecea0a374bed505c235b77cba3db0a3 /generic/tclIORTrans.c
parent9e0fbf5ef34d910758ee6a09bbf91bb5ec8f58f4 (diff)
downloadtcl-c740da6bc26ac29aeb5b548f7e350fd15ec1f890.zip
tcl-c740da6bc26ac29aeb5b548f7e350fd15ec1f890.tar.gz
tcl-c740da6bc26ac29aeb5b548f7e350fd15ec1f890.tar.bz2
Fix indentation/brace usage style issues
Diffstat (limited to 'generic/tclIORTrans.c')
-rw-r--r--generic/tclIORTrans.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index 683b7f2..5d00805 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -84,16 +84,16 @@ static const Tcl_ChannelType tclRTransformType = {
typedef struct {
unsigned char *buf; /* Reference to the buffer area. */
size_t allocated; /* Allocated size of the buffer area. */
- size_t used; /* Number of bytes in the buffer,
+ size_t used; /* Number of bytes in the buffer,
* <= allocated. */
} ResultBuffer;
#define ResultLength(r) ((r)->used)
/* static int ResultLength(ResultBuffer *r); */
-static inline void ResultClear(ResultBuffer *r);
-static inline void ResultInit(ResultBuffer *r);
-static inline void ResultAdd(ResultBuffer *r, unsigned char *buf,
+static inline void ResultClear(ResultBuffer *r);
+static inline void ResultInit(ResultBuffer *r);
+static inline void ResultAdd(ResultBuffer *r, unsigned char *buf,
size_t toWrite);
static inline size_t ResultCopy(ResultBuffer *r, unsigned char *buf,
size_t toRead);