summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-01-13 19:53:27 -0500
committerJune McEnroe <june@causal.agency>2018-01-13 19:53:27 -0500
commitd765dc3b565abf610d58bac5a1930dd22f9ac783 (patch)
tree54e8e6e133b0c384b1b0f633e3768776eacd0246 /bin
parentRemove Code Tarmak 3 (diff)
downloadsrc-d765dc3b565abf610d58bac5a1930dd22f9ac783.tar.gz
src-d765dc3b565abf610d58bac5a1930dd22f9ac783.zip
Mark dtch z and iov static
Diffstat (limited to '')
-rw-r--r--bin/dtch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dtch.c b/bin/dtch.c
index b92ac650..5deb74ac 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));