aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:14:19 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:14:19 +0000
commit38e0dafc4c1e71a5ff7a9d9563d80b096945f97b (patch)
tree9194a27815341a93f24b133f1214cd3c2e47b67b
parent00a16b49ba22d8a5749dc23eec7a9d0e454f0d24 (diff)
downloadmpd-38e0dafc4c1e71a5ff7a9d9563d80b096945f97b.tar.gz
mpd-38e0dafc4c1e71a5ff7a9d9563d80b096945f97b.tar.xz
mpd-38e0dafc4c1e71a5ff7a9d9563d80b096945f97b.zip
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
Diffstat (limited to '')
-rw-r--r--src/notify.c6
-rw-r--r--src/notify.h6
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