[nginx] Style: sorted epoll flags.

Valentin Bartenev vbart at nginx.com
Fri Jul 15 12:35:39 UTC 2016


details:   http://hg.nginx.org/nginx/rev/18f6120e3b7a
branches:  
changeset: 6634:18f6120e3b7a
user:      Valentin Bartenev <vbart at nginx.com>
date:      Fri Jul 15 15:18:57 2016 +0300
description:
Style: sorted epoll flags.

diffstat:

 src/event/modules/ngx_epoll_module.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r d82b3c344e7e -r 18f6120e3b7a src/event/modules/ngx_epoll_module.c
--- a/src/event/modules/ngx_epoll_module.c	Fri Jul 15 15:18:57 2016 +0300
+++ b/src/event/modules/ngx_epoll_module.c	Fri Jul 15 15:18:57 2016 +0300
@@ -17,18 +17,18 @@
 #define EPOLLIN        0x001
 #define EPOLLPRI       0x002
 #define EPOLLOUT       0x004
+#define EPOLLERR       0x008
+#define EPOLLHUP       0x010
 #define EPOLLRDNORM    0x040
 #define EPOLLRDBAND    0x080
 #define EPOLLWRNORM    0x100
 #define EPOLLWRBAND    0x200
 #define EPOLLMSG       0x400
-#define EPOLLERR       0x008
-#define EPOLLHUP       0x010
 
 #define EPOLLRDHUP     0x2000
 
+#define EPOLLONESHOT   0x40000000
 #define EPOLLET        0x80000000
-#define EPOLLONESHOT   0x40000000
 
 #define EPOLL_CTL_ADD  1
 #define EPOLL_CTL_DEL  2



More information about the nginx-devel mailing list