aboutsummaryrefslogtreecommitdiffstats
path: root/src/notify.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:16 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:49:16 +0200
commitb159832418dd6ac92229686e1ac6b23f0fe609cb (patch)
treecee4cb0d8d63492e5db470826cc396ba00cfe5cf /src/notify.h
parentd562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f (diff)
downloadmpd-b159832418dd6ac92229686e1ac6b23f0fe609cb.tar.gz
mpd-b159832418dd6ac92229686e1ac6b23f0fe609cb.tar.xz
mpd-b159832418dd6ac92229686e1ac6b23f0fe609cb.zip
notify: removed the "Notify" typedef
Typedefs shouldn't be used, use the bare struct names instead.
Diffstat (limited to '')
-rw-r--r--src/notify.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notify.h b/src/notify.h
index b8018232d..d2a7df027 100644
--- a/src/notify.h
+++ b/src/notify.h
@@ -21,11 +21,11 @@
#include "os_compat.h"
-typedef struct notify {
+struct notify {
pthread_mutex_t mutex;
pthread_cond_t cond;
int pending;
-} Notify;
+};
#define NOTIFY_INITIALIZER { \
.mutex = PTHREAD_MUTEX_INITIALIZER, \