Commit 02b27ced55e52b4cf0857813170ab0bb8929e621

Thomas de Grivel 2024-08-08T11:52:41

http_event_set: argument -> s_tag *

diff --git a/http/http_event.c b/http/http_event.c
index 2af49e9..f02fdeb 100644
--- a/http/http_event.c
+++ b/http/http_event.c
@@ -15,7 +15,7 @@
 #include "http_event.h"
 
 void http_event_set (struct event *ev, s32 fd, s16 event,
-                     const s_cfn *cfn, void *arg)
+                     const s_cfn *cfn, s_tag *arg)
 {
   event_set(ev, fd, event, (void (*) (int, short, void *)) cfn->ptr.f,
             arg);
diff --git a/http/http_event.h b/http/http_event.h
index 9b50897..27a26fb 100644
--- a/http/http_event.h
+++ b/http/http_event.h
@@ -16,6 +16,6 @@
 #include "types.h"
 
 void http_event_set (struct event *ev, s32 fd, s16 event,
-                     const s_cfn *cfn, void *arg);
+                     const s_cfn *cfn, s_tag *arg);
 
 #endif /* HTTP_H */