Skip to content

Commit aef1e34

Browse files
committed
revert
1 parent 49716c9 commit aef1e34

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

include/swoole.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,10 +411,6 @@ enum swFdType {
411411
SW_FD_SIGNAL,
412412
SW_FD_DNS_RESOLVER,
413413
SW_FD_CARES,
414-
/**
415-
* io_uring
416-
*/
417-
SW_FD_IOURING,
418414
/**
419415
* SW_FD_USER or SW_FD_USER+n: for custom event
420416
*/

include/swoole_async.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include <string>
2323
#include <mutex>
2424
#include <atomic>
25-
#include <queue>
2625

2726
#ifndef O_DIRECT
2827
#define O_DIRECT 040000
@@ -38,7 +37,6 @@ enum AsyncFlag {
3837
struct AsyncEvent {
3938
size_t task_id;
4039
uint8_t canceled;
41-
int error;
4240
/**
4341
* input & output
4442
*/
@@ -47,6 +45,7 @@ struct AsyncEvent {
4745
* output
4846
*/
4947
ssize_t retval;
48+
int error;
5049
/**
5150
* internal use only
5251
*/

0 commit comments

Comments
 (0)