Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
38e0dafc
Commit
38e0dafc
authored
Apr 12, 2008
by
Max Kellermann
Committed by
Eric Wong
Apr 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
notify.c
src/notify.c
+3
-3
notify.h
src/notify.h
+3
-3
No files found.
src/notify.c
View file @
38e0dafc
...
...
@@ -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
;
...
...
src/notify.h
View file @
38e0dafc
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment