Commit 38e0dafc authored by Max Kellermann's avatar Max Kellermann Committed by Eric Wong

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
parent 00a16b49
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "log.h" #include "log.h"
#include "utils.h" #include "utils.h"
void initNotify(Notify *notify) void notifyInit(Notify *notify)
{ {
if (pipe(notify->fds) < 0) if (pipe(notify->fds) < 0)
FATAL("Couldn't open pipe: %s", strerror(errno)); FATAL("Couldn't open pipe: %s", strerror(errno));
...@@ -30,7 +30,7 @@ void initNotify(Notify *notify) ...@@ -30,7 +30,7 @@ void initNotify(Notify *notify)
strerror(errno)); strerror(errno));
} }
void waitNotify(Notify *notify) void notifyWait(Notify *notify)
{ {
char buffer[64]; char buffer[64];
...@@ -38,7 +38,7 @@ void waitNotify(Notify *notify) ...@@ -38,7 +38,7 @@ void waitNotify(Notify *notify)
FATAL("error reading from pipe: %s\n", strerror(errno)); FATAL("error reading from pipe: %s\n", strerror(errno));
} }
void signalNotify(Notify *notify) void notifySignal(Notify *notify)
{ {
char buffer = 0; char buffer = 0;
......
...@@ -38,10 +38,10 @@ typedef struct _Notify { ...@@ -38,10 +38,10 @@ typedef struct _Notify {
int fds[2]; int fds[2];
} Notify; } 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 #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment