From 38e0dafc4c1e71a5ff7a9d9563d80b096945f97b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 12 Apr 2008 04:14:19 +0000 Subject: rename the notify.c methods Use "notify" as a prefix rather than suffix. git-svn-id: https://svn.musicpd.org/mpd/trunk@7279 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/notify.c | 6 +++--- src/notify.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/notify.c b/src/notify.c index 6fdfb76f8..4eda79391 100644 --- a/src/notify.c +++ b/src/notify.c @@ -21,7 +21,7 @@ #include "log.h" #include "utils.h" -void initNotify(Notify *notify) +void notifyInit(Notify *notify) { if (pipe(notify->fds) < 0) FATAL("Couldn't open pipe: %s", strerror(errno)); @@ -30,7 +30,7 @@ void initNotify(Notify *notify) strerror(errno)); } -void waitNotify(Notify *notify) +void notifyWait(Notify *notify) { char buffer[64]; @@ -38,7 +38,7 @@ void waitNotify(Notify *notify) FATAL("error reading from pipe: %s\n", strerror(errno)); } -void signalNotify(Notify *notify) +void notifySignal(Notify *notify) { char buffer = 0; diff --git a/src/notify.h b/src/notify.h index 1c94eae6e..9f1a1961b 100644 --- a/src/notify.h +++ b/src/notify.h @@ -38,10 +38,10 @@ typedef struct _Notify { int fds[2]; } Notify; -void initNotify(Notify *notify); +void notifyInit(Notify *notify); -void waitNotify(Notify *notify); +void notifyWait(Notify *notify); -void signalNotify(Notify *notify); +void notifySignal(Notify *notify); #endif -- cgit v1.2.3