From ee1d723ad7ec94e0db09ae8bab61a8952bfaaa32 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Sep 2008 07:14:03 +0200 Subject: notify: make notify_init() failures fatal When a mutex cannot be created, there must be something very wrong. Induce panic and abort MPD in this case. --- src/notify.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/notify.h') diff --git a/src/notify.h b/src/notify.h index a246f663a..0f3b4c1bc 100644 --- a/src/notify.h +++ b/src/notify.h @@ -27,7 +27,7 @@ typedef struct notify { int pending; } Notify; -int notify_init(struct notify *notify); +void notify_init(struct notify *notify); /** * The thread which shall be notified by this object must call this -- cgit v1.2.3