diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 10:49:16 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 10:49:16 +0200 |
commit | b159832418dd6ac92229686e1ac6b23f0fe609cb (patch) | |
tree | cee4cb0d8d63492e5db470826cc396ba00cfe5cf /src/notify.h | |
parent | d562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f (diff) | |
download | mpd-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 'src/notify.h')
-rw-r--r-- | src/notify.h | 4 |
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, \ |