Skip to content

Commit 75e2bf9

Browse files
author
Erik Rozendaal
committed
netio.h: (struct netio) Reordered fields.
git-svn-id: file:///svn/nsd/trunk@1197 a26ef69c-88ff-0310-839f-98b793d9c207
1 parent ddcc0b1 commit 75e2bf9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

netio.h

+4-5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ typedef struct netio_handler_list netio_handler_list_type;
6969

7070
struct netio
7171
{
72+
region_type *region;
73+
netio_handler_list_type *handlers;
74+
netio_handler_list_type *deallocated;
75+
7276
/*
7377
* Cached value of the current time. The cached value is
7478
* cleared at the start of netio_dispatch to calculate the
@@ -80,11 +84,6 @@ struct netio
8084
*/
8185
int have_current_time;
8286
struct timespec cached_current_time;
83-
84-
/* Private. */
85-
region_type *region;
86-
netio_handler_list_type *handlers;
87-
netio_handler_list_type *deallocated;
8887
};
8988

9089
typedef void (*netio_event_handler_type)(netio_type *netio,

0 commit comments

Comments
 (0)