Fix compilation error

This commit is contained in:
2024-04-12 23:54:41 +02:00
parent 176fa2d02b
commit 9dd8341dbc
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ int main()
struct io_context ioc;
if (!io_init(&ioc, res, ops, sizeof(res)/sizeof(res[0]), sizeof(ops)/sizeof(ops[0])))
return -1;
io_handle files[NUM_OPS];
for (int i = 0; i < NUM_OPS; i++) {
+2 -2
View File
@@ -990,11 +990,11 @@ io_wait_internal(struct io_context *ioc,
struct io_event *ev)
{
#if IO_PLATFORM_WINDOWS
io_wait_windows(ioc, ev);
io_wait_internal_windows(ioc, ev);
#endif
#if IO_PLATFORM_LINUX
io_wait_linux(ioc, ev);
io_wait_internal_linux(ioc, ev);
#endif
}
+1 -1
View File
@@ -192,4 +192,4 @@ io_handle io_start_server(struct io_context *ioc,
void io_set_callback(struct io_context *ioc,
io_handle handle,
io_callback callback);
io_callback callback);