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
This commit is contained in:
parent
00a16b49ba
commit
38e0dafc4c
@ -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)
|
|||||||
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)
|
|||||||
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 {
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user