about summary refs log tree commit diff
path: root/buc.c
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-07-03 10:42:10 +0300
committerNakidai <nakidai@disroot.org>2025-07-03 10:42:10 +0300
commitc07461337363d7c3e28bac53e73c16d038903e87 (patch)
treee26a0dd3166ea37e84ecd2efdae2260e7d0693ac /buc.c
parent55a180b3b35247a8ee2c12e94c19befdba09550b (diff)
downloadsmalltcp-c07461337363d7c3e28bac53e73c16d038903e87.tar.gz
smalltcp-c07461337363d7c3e28bac53e73c16d038903e87.zip
ImpOwOments
- Use better thing for compiling
- Remove all those unneeded function definitions bloating my beautiful
  perfect code
Diffstat (limited to 'buc.c')
-rw-r--r--buc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/buc.c b/buc.c
index 626fa2e..b8557b0 100644
--- a/buc.c
+++ b/buc.c
@@ -4,7 +4,6 @@
 #include <poll.h>
 
 char buf[512]; progress;
-atoi(), err(), exit(), read(), write();
 
 #define	readbuf(sock)	((((progress = read((sock), buf, sizeof(buf))) == -1) && err(1, "read()") || !progress && exit(0)), progress)
 #define	sendbuf(sock, size)	(write(sock, buf, size) == -1 && err(1, "write()"))