From bc0ce072984b89a097b0d8de35422452588fac56 Mon Sep 17 00:00:00 2001 From: Andrew Hannam Date: Fri, 30 Nov 2012 00:40:28 +1000 Subject: [PATCH] Static initialisation fix for a GListener --- include/gevent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gevent.h b/include/gevent.h index fa735452..6467e60d 100644 --- a/include/gevent.h +++ b/include/gevent.h @@ -40,7 +40,7 @@ /** * @brief Data part of a static GListener initializer. */ - #define _GLISTENER_DATA(name) { _SEMAPHORE_DATA(name.waitqueue, 0), _BSEMAPHORE_DATA(name.eventlock, FALSE), {0} } + #define _GLISTENER_DATA(name) { _SEMAPHORE_DATA(name.waitqueue, 0), _BSEMAPHORE_DATA(name.eventlock, FALSE), 0, 0, {0} } /** * @brief Static GListener initializer. */