Dead code: remove max().
[buftee] / buftee.c
index 23d2d2c..77cba3a 100644 (file)
--- a/buftee.c
+++ b/buftee.c
@@ -242,8 +242,6 @@ static int xwrite(const int fd, struct buf* const buf) {
   return (int)write_ret;
 }
 
-static int max(const int a, const int b) { return (a > b) ? a : b; }
-
 static void wait_until_readable(const int fd) {
   fd_set read_fds;
   FD_ZERO(&read_fds);