diff options
author | Egor Tensin <egor@tensin.name> | 2024-12-26 11:48:57 +0100 |
---|---|---|
committer | Egor Tensin <egor@tensin.name> | 2024-12-26 11:50:10 +0100 |
commit | 84e76384c9d719a8d7546298dd63040be3ebcd62 (patch) | |
tree | 2e4cefc37d0b20f5568488d23d821335568d5e4f | |
parent | file: rename syscall wrappers (diff) | |
download | cimple-84e76384c9d719a8d7546298dd63040be3ebcd62.tar.gz cimple-84e76384c9d719a8d7546298dd63040be3ebcd62.zip |
net.h: remove duplicate declarations
-rw-r--r-- | src/net.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -11,7 +11,6 @@ #include "buf.h" #include <stddef.h> -#include <stdint.h> int net_bind(const char *port); int net_accept(int fd); @@ -21,15 +20,6 @@ void net_close(int fd); int net_send(int fd, const void *, size_t); int net_recv(int fd, void *, size_t); -struct buf; - -int buf_create(struct buf **, const void *, uint32_t); -int buf_create_from_string(struct buf **, const char *); -void buf_destroy(struct buf *); - -uint32_t buf_get_size(const struct buf *); -const void *buf_get_data(const struct buf *); - int net_send_buf(int fd, const struct buf *); int net_recv_buf(int fd, struct buf **); |