aboutsummaryrefslogtreecommitdiffstats
path: root/src/notify.c
diff options
context:
space:
mode:
authorMax Kellerman <max@duempel.org>2008-06-01 22:24:44 +0000
committerEric Wong <normalperson@yhbt.net>2008-06-01 22:24:44 +0000
commit97698bd4aaf168620205fea26f089e7b1acc869d (patch)
tree51fc58d0a8b800b40d81ffa5a3e31ad5e55486f1 /src/notify.c
parente0be3aad20f9b4c95af047e0e64aa01a7a972886 (diff)
downloadmpd-97698bd4aaf168620205fea26f089e7b1acc869d.tar.gz
mpd-97698bd4aaf168620205fea26f089e7b1acc869d.tar.xz
mpd-97698bd4aaf168620205fea26f089e7b1acc869d.zip
notify: don't use camelCase in notify.[ch]
git-svn-id: https://svn.musicpd.org/mpd/trunk@7367 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/notify.c')
-rw-r--r--src/notify.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/notify.c b/src/notify.c
index 5d53b231d..ed46829ae 100644
--- a/src/notify.c
+++ b/src/notify.c
@@ -18,7 +18,7 @@
#include "notify.h"
-int notifyInit(Notify *notify)
+int notify_init(Notify *notify)
{
int ret;
@@ -37,32 +37,32 @@ int notifyInit(Notify *notify)
return 0;
}
-void notifyEnter(Notify *notify)
+void notify_enter(Notify *notify)
{
pthread_mutex_lock(&notify->mutex);
}
-void notifyLeave(Notify *notify)
+void notify_leave(Notify *notify)
{
pthread_mutex_unlock(&notify->mutex);
}
-void notifyWait(Notify *notify)
+void notify_wait(Notify *notify)
{
if (!notify->pending)
pthread_cond_wait(&notify->cond, &notify->mutex);
notify->pending = 0;
}
-void notifySignal(Notify *notify)
+void notify_signal(Notify *notify)
{
notify->pending = 1;
pthread_cond_signal(&notify->cond);
}
-void notifySignalSync(Notify *notify)
+void notify_signal_sync(Notify *notify)
{
pthread_mutex_lock(&notify->mutex);
- notifySignal(notify);
+ notify_signal(notify);
pthread_mutex_unlock(&notify->mutex);
}