summaryrefslogtreecommitdiff
path: root/minecproxy/misc.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-28 14:58:32 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-28 14:58:32 +0200
commitd3352b997ca59a336a40fe6660c6e5b7079864aa (patch)
treef365d6c0304e512057223e9a3cf37357da44a443 /minecproxy/misc.h
parent99b2c70137fef05a5a18f439b9010ddba455f5cb (diff)
Run clang-format on source tree (excl igmp.c)
Diffstat (limited to 'minecproxy/misc.h')
-rw-r--r--minecproxy/misc.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/minecproxy/misc.h b/minecproxy/misc.h
index 6627913..70b84c7 100644
--- a/minecproxy/misc.h
+++ b/minecproxy/misc.h
@@ -13,7 +13,7 @@ void debug_resource_usage();
struct connection;
-typedef void(*connection_cb_t)(struct connection *, bool);
+typedef void (*connection_cb_t)(struct connection *, bool);
struct connection {
struct saddr remote;
@@ -29,8 +29,7 @@ void connection_set_local(struct connection *conn, int fd);
void connection_set_remote(struct connection *conn, struct saddr *remote);
-void connect_any(struct uring_task *task,
- struct list_head *addrs, struct connection *conn,
- connection_cb_t cb);
+void connect_any(struct uring_task *task, struct list_head *addrs,
+ struct connection *conn, connection_cb_t cb);
#endif