diff options
author | Christoph Lohmann <20h@r-36.net> | 2015-07-10 14:19:31 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2015-07-10 14:19:31 +0200 |
commit | d3c7b6fb73bc5273b56c84c6c4c50a61ee5ab2bc (patch) | |
tree | 06f4d91cf9d8534cafb0fed3c361be56f5b91d89 | |
parent | 41f70a1cff9c5653bebea996728fa76e2507eca3 (diff) | |
download | st-d3c7b6fb73bc5273b56c84c6c4c50a61ee5ab2bc.tar.gz |
No inline declarations please.
-rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -558,10 +558,10 @@ static int frclen = 0; ssize_t xwrite(int fd, const char *s, size_t len) { - size_t aux = len; + size_t aux = len, r; while (len > 0) { - ssize_t r = write(fd, s, len); + r = write(fd, s, len); if (r < 0) return r; len -= r; |