1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net/rp-pppoe/files/patch-libevent__event.c
Marcus Alves Grando cd3850e140 - Update to 3.8
- portlint(1)
- Fix build on 4.x [mnag]

PR:		95380
Submitted by:	maintainer
2006-04-08 19:20:28 +00:00

24 lines
584 B
C

--- libevent/event.c.orig Sat Apr 8 16:15:20 2006
+++ libevent/event.c Sat Apr 8 16:15:50 2006
@@ -86,9 +86,6 @@
struct timeval abs_timeout, now;
- /* Avoid compiler warning */
- abs_timeout.tv_sec = 0;
- abs_timeout.tv_usec = 0;
struct timeval timeout;
struct timeval *tm;
EventHandler *eh;
@@ -100,6 +97,10 @@
int foundWriteEvent = 0;
int maxfd = -1;
int pastDue;
+
+ /* Avoid compiler warning */
+ abs_timeout.tv_sec = 0;
+ abs_timeout.tv_usec = 0;
EVENT_DEBUG(("Enter Event_HandleEvent(es=%p)\n", (void *) es));