diff options
author | June McEnroe <programble@gmail.com> | 2018-01-13 19:53:27 -0500 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2018-01-13 19:53:27 -0500 |
commit | 6dcd8b9fbfb364bbfaa873cb6c18e5ce8d5aa62b (patch) | |
tree | e8a1dec95886b0dc7f5e5507dd0edcca9b72e6c7 /bin | |
parent | Remove Code Tarmak 3 (diff) | |
download | src-6dcd8b9fbfb364bbfaa873cb6c18e5ce8d5aa62b.tar.gz src-6dcd8b9fbfb364bbfaa873cb6c18e5ce8d5aa62b.zip |
Mark dtch z and iov static
Diffstat (limited to 'bin')
-rw-r--r-- | bin/dtch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dtch.c b/bin/dtch.c index 5b920a31..ab313f58 100644 --- a/bin/dtch.c +++ b/bin/dtch.c @@ -63,8 +63,8 @@ static ssize_t writeAll(int fd, const char *buf, size_t len) { return writeLen; } -char z; -struct iovec iov = { .iov_base = &z, .iov_len = 1 }; +static char z; +static struct iovec iov = { .iov_base = &z, .iov_len = 1 }; static ssize_t sendFd(int sock, int fd) { size_t len = CMSG_LEN(sizeof(int)); |