aboutsummaryrefslogtreecommitdiffstats
path: root/src/notify.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-24 07:14:03 +0200
committerMax Kellermann <max@duempel.org>2008-09-24 07:14:03 +0200
commitee1d723ad7ec94e0db09ae8bab61a8952bfaaa32 (patch)
tree77367e79bf0e57a65102c092933a2360ad658170 /src/notify.h
parent770b1405345710994b4d7fda55e26cad195c2742 (diff)
downloadmpd-ee1d723ad7ec94e0db09ae8bab61a8952bfaaa32.tar.gz
mpd-ee1d723ad7ec94e0db09ae8bab61a8952bfaaa32.tar.xz
mpd-ee1d723ad7ec94e0db09ae8bab61a8952bfaaa32.zip
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.
Diffstat (limited to '')
-rw-r--r--src/notify.h2
1 files changed, 1 insertions, 1 deletions
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