From 03ea1492366b121d7e49e6978a911139f6b69a6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Adamczewski-Musch?= Date: Wed, 25 Nov 2015 08:28:53 +0100 Subject: [PATCH] Correct wrong returntype of some setter functions ins subevt.h --- hadaq/subevt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadaq/subevt.h b/hadaq/subevt.h index 2272ad5..1d7c112 100644 --- a/hadaq/subevt.h +++ b/hadaq/subevt.h @@ -102,12 +102,12 @@ static void SubEvt_setId(void *my, uint32_t id) SubEvt_setHdrValue(my, SubEvtIdx_id, id); } -static int SubEvt_setDataError(void *my) +static void SubEvt_setDataError(void *my) { SubEvt_setId(my, SubEvt_id(my) | 0x80000000UL); } -static int SubEvt_clrDataError(void *my) +static void SubEvt_clrDataError(void *my) { SubEvt_setId(my, SubEvt_id(my) & ~0x80000000UL); } -- 2.43.0