From 97698bd4aaf168620205fea26f089e7b1acc869d Mon Sep 17 00:00:00 2001 From: Max Kellerman Date: Sun, 1 Jun 2008 22:24:44 +0000 Subject: notify: don't use camelCase in notify.[ch] git-svn-id: https://svn.musicpd.org/mpd/trunk@7367 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/notify.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/notify.c') 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(¬ify->mutex); } -void notifyLeave(Notify *notify) +void notify_leave(Notify *notify) { pthread_mutex_unlock(¬ify->mutex); } -void notifyWait(Notify *notify) +void notify_wait(Notify *notify) { if (!notify->pending) pthread_cond_wait(¬ify->cond, ¬ify->mutex); notify->pending = 0; } -void notifySignal(Notify *notify) +void notify_signal(Notify *notify) { notify->pending = 1; pthread_cond_signal(¬ify->cond); } -void notifySignalSync(Notify *notify) +void notify_signal_sync(Notify *notify) { pthread_mutex_lock(¬ify->mutex); - notifySignal(notify); + notify_signal(notify); pthread_mutex_unlock(¬ify->mutex); } -- cgit v1.2.3