projects
/
buftee
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fab471d
)
Dead code: remove max().
author
Emil Mikulic
<emikulic@gmail.com>
Sun, 10 Mar 2013 16:45:41 +0000
(
03:45
+1100)
committer
Emil Mikulic
<emikulic@gmail.com>
Sun, 10 Mar 2013 17:26:25 +0000
(
04:26
+1100)
buftee.c
patch
|
blob
|
history
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;
}
-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);