diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/util.h b/src/common/util.h index 566d16d0aa..9f387150ae 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -68,11 +68,4 @@ /* File helpers */ -#define write_all(fd, buf, count, isSock) \ - ((isSock) ? write_all_to_socket((fd), (buf), (count)) \ - : write_all_to_fd((int)(fd), (buf), (count))) -#define read_all(fd, buf, count, isSock) \ - ((isSock) ? read_all_from_socket((fd), (buf), (count)) \ - : read_all_from_fd((int)(fd), (buf), (count))) - #endif /* !defined(TOR_UTIL_H) */ |