aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/net.h
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-12 17:20:08 +0200
committerEgor Tensin <egor@tensin.name>2026-06-12 17:20:08 +0200
commit1160cdb21e0b667269299853cb47a4aa88948dc3 (patch)
treeb6828fc587bf0f868d9eb7a54518a46a9afc1a32 /src/net.h
parentdependabot: fix a typo (diff)
downloadcimple-1160cdb21e0b667269299853cb47a4aa88948dc3.tar.gz
cimple-1160cdb21e0b667269299853cb47a4aa88948dc3.zip
unify my .clang-format files
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net.h b/src/net.h
index 2769b13..2b3a1cf 100644
--- a/src/net.h
+++ b/src/net.h
@@ -12,15 +12,15 @@
#include <stddef.h>
-int net_bind(const char *port);
+int net_bind(const char* port);
int net_accept(int fd);
-int net_connect(const char *host, const char *port);
+int net_connect(const char* host, const char* port);
void net_close(int fd);
-int net_send(int fd, const void *, size_t);
-int net_recv(int fd, void *, size_t);
+int net_send(int fd, const void*, size_t);
+int net_recv(int fd, void*, size_t);
-int net_send_buf(int fd, const struct buf *);
-int net_recv_buf(int fd, struct buf **);
+int net_send_buf(int fd, const struct buf*);
+int net_recv_buf(int fd, struct buf**);
#endif