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 /st.c | |
parent | 41f70a1cff9c5653bebea996728fa76e2507eca3 (diff) | |
download | st-d3c7b6fb73bc5273b56c84c6c4c50a61ee5ab2bc.tar.gz st-d3c7b6fb73bc5273b56c84c6c4c50a61ee5ab2bc.zip |
No inline declarations please.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -558,10 +558,10 @@ static int frclen = 0; | |||
558 | ssize_t | 558 | ssize_t |
559 | xwrite(int fd, const char *s, size_t len) | 559 | xwrite(int fd, const char *s, size_t len) |
560 | { | 560 | { |
561 | size_t aux = len; | 561 | size_t aux = len, r; |
562 | 562 | ||
563 | while (len > 0) { | 563 | while (len > 0) { |
564 | ssize_t r = write(fd, s, len); | 564 | r = write(fd, s, len); |
565 | if (r < 0) | 565 | if (r < 0) |
566 | return r; | 566 | return r; |
567 | len -= r; | 567 | len -= r; |