summaryrefslogtreecommitdiffstats
path: root/tinyNET/src/tnet_poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyNET/src/tnet_poll.h')
-rwxr-xr-xtinyNET/src/tnet_poll.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/tinyNET/src/tnet_poll.h b/tinyNET/src/tnet_poll.h
index becd1c3..a9c4a0f 100755
--- a/tinyNET/src/tnet_poll.h
+++ b/tinyNET/src/tnet_poll.h
@@ -2,19 +2,19 @@
* Copyright (C) 2010-2011 Mamadou Diop.
*
* Contact: Mamadou Diop <diopmamadou(at)doubango[dot]org>
-*
+*
* This file is part of Open Source Doubango Framework.
*
* DOUBANGO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
-*
+*
* DOUBANGO is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
-*
+*
* You should have received a copy of the GNU General Public License
* along with DOUBANGO.
*
@@ -44,7 +44,7 @@ typedef unsigned long tnet_nfds_t;
typedef struct pollfd tnet_pollfd_t;
-#define TNET_POLLRDNORM POLLRDNORM
+#define TNET_POLLRDNORM POLLRDNORM
#define TNET_POLLRDBAND POLLRDBAND
#define TNET_POLLIN POLLIN
#define TNET_POLLPRI POLLPRI
@@ -65,8 +65,7 @@ typedef struct pollfd tnet_pollfd_t;
#else
-typedef struct tnet_pollfd_s
-{
+typedef struct tnet_pollfd_s {
tnet_fd_t fd;
short events;
short revents;
OpenPOWER on IntegriCloud