projects
/
buftee
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dead code: remove max().
[buftee]
/
buftee.c
diff --git
a/buftee.c
b/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;
}
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);
static void wait_until_readable(const int fd) {
fd_set read_fds;
FD_ZERO(&read_fds);