aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-02-12 20:25:48 +0000
committerOmar Polo <op@omarpolo.com>2021-02-12 20:25:48 +0000
commitc39b26d308ed63a537de88b963935c2acfe33405 (patch)
treeee5141aca60a862fb6197ec1fc72aa9a38bb6ab4 /server.c
parenteecad7a3ca59d176f7d2c5294c90bb34ad2ce928 (diff)
mark reschedule_write inline & static
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 657ad4e..44da19a 100644
--- a/server.c
+++ b/server.c
@@ -81,7 +81,7 @@ reschedule_read(int fd, struct client *c, statefn fn)
event_once(fd, EV_READ, fn, c, NULL);
}
-void
+static inline void
reschedule_write(int fd, struct client *c, statefn fn)
{
event_once(fd, EV_WRITE, fn, c, NULL);