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
0734acf3
Commit
0734acf3
authored
Jan 01, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
null: don't include gcc.h
Use GLib's G_GNUC_UNUSED instead of macros from gcc.h.
parent
9a70c4d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
null_plugin.c
src/output/null_plugin.c
+7
-4
No files found.
src/output/null_plugin.c
View file @
0734acf3
...
...
@@ -20,13 +20,16 @@
#include "../timer.h"
#include "../utils.h"
#include <glib.h>
struct
null_data
{
Timer
*
timer
;
};
static
void
*
null_initDriver
(
mpd_unused
struct
audio_output
*
audioOutput
,
mpd_unused
const
struct
audio_format
*
audio_format
,
mpd_unused
ConfigParam
*
param
)
static
void
*
null_initDriver
(
G_GNUC_UNUSED
struct
audio_output
*
audioOutput
,
G_GNUC_UNUSED
const
struct
audio_format
*
audio_format
,
G_GNUC_UNUSED
ConfigParam
*
param
)
{
struct
null_data
*
nd
=
xmalloc
(
sizeof
(
*
nd
));
nd
->
timer
=
NULL
;
...
...
@@ -53,7 +56,7 @@ static void null_closeDevice(void *data)
}
static
bool
null_playAudio
(
void
*
data
,
mpd_unused
const
char
*
playChunk
,
size_t
size
)
null_playAudio
(
void
*
data
,
G_GNUC_UNUSED
const
char
*
playChunk
,
size_t
size
)
{
struct
null_data
*
nd
=
data
;
Timer
*
timer
=
nd
->
timer
;
...
...
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