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
f7d995f8
Commit
f7d995f8
authored
Nov 24, 2008
by
Thomas Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zeroconf.c: replaced mpd_unused by G_GNUC_UNUSED
parent
b31b334b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
zeroconf.c
src/zeroconf.c
+6
-4
No files found.
src/zeroconf.c
View file @
f7d995f8
...
@@ -26,6 +26,8 @@
...
@@ -26,6 +26,8 @@
#include "ioops.h"
#include "ioops.h"
#include "utils.h"
#include "utils.h"
#include <glib.h>
/* The dns-sd service type qualifier to publish */
/* The dns-sd service type qualifier to publish */
#define SERVICE_TYPE "_mpd._tcp"
#define SERVICE_TYPE "_mpd._tcp"
...
@@ -92,7 +94,7 @@ struct AvahiTimeout {
...
@@ -92,7 +94,7 @@ struct AvahiTimeout {
static
AvahiWatch
*
avahiWatchList
;
static
AvahiWatch
*
avahiWatchList
;
static
AvahiTimeout
*
avahiTimeoutList
;
static
AvahiTimeout
*
avahiTimeoutList
;
static
AvahiWatch
*
avahiWatchNew
(
mpd_unused
const
AvahiPoll
*
api
,
int
fd
,
static
AvahiWatch
*
avahiWatchNew
(
G_GNUC_UNUSED
const
AvahiPoll
*
api
,
int
fd
,
AvahiWatchEvent
event
,
AvahiWatchEvent
event
,
AvahiWatchCallback
callback
,
void
*
userdata
)
AvahiWatchCallback
callback
,
void
*
userdata
)
{
{
...
@@ -175,7 +177,7 @@ static void avahiTimeoutFree(AvahiTimeout * t)
...
@@ -175,7 +177,7 @@ static void avahiTimeoutFree(AvahiTimeout * t)
free
(
t
);
free
(
t
);
}
}
static
AvahiTimeout
*
avahiTimeoutNew
(
mpd_unused
const
AvahiPoll
*
api
,
static
AvahiTimeout
*
avahiTimeoutNew
(
G_GNUC_UNUSED
const
AvahiPoll
*
api
,
const
struct
timeval
*
tv
,
const
struct
timeval
*
tv
,
AvahiTimeoutCallback
callback
,
AvahiTimeoutCallback
callback
,
void
*
userdata
)
void
*
userdata
)
...
@@ -200,7 +202,7 @@ static AvahiTimeout *avahiTimeoutNew(mpd_unused const AvahiPoll * api,
...
@@ -200,7 +202,7 @@ static AvahiTimeout *avahiTimeoutNew(mpd_unused const AvahiPoll * api,
/* Callback when the EntryGroup changes state */
/* Callback when the EntryGroup changes state */
static
void
avahiGroupCallback
(
AvahiEntryGroup
*
g
,
static
void
avahiGroupCallback
(
AvahiEntryGroup
*
g
,
AvahiEntryGroupState
state
,
AvahiEntryGroupState
state
,
mpd_unused
void
*
userdata
)
G_GNUC_UNUSED
void
*
userdata
)
{
{
char
*
n
;
char
*
n
;
assert
(
g
);
assert
(
g
);
...
@@ -290,7 +292,7 @@ fail:
...
@@ -290,7 +292,7 @@ fail:
/* Callback when avahi changes state */
/* Callback when avahi changes state */
static
void
avahiClientCallback
(
AvahiClient
*
c
,
AvahiClientState
state
,
static
void
avahiClientCallback
(
AvahiClient
*
c
,
AvahiClientState
state
,
mpd_unused
void
*
userdata
)
G_GNUC_UNUSED
void
*
userdata
)
{
{
int
reason
;
int
reason
;
assert
(
c
);
assert
(
c
);
...
...
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