aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-14 19:55:11 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-14 19:55:11 +0000
commit4066629494cd8099de073413247d466f1c0871a6 (patch)
treef89fb0494d86f4cc56a8a3401310903985de559e
parent77b6aee2e521386c9dbecbe2e7066f76a0b341fb (diff)
downloadmpd-4066629494cd8099de073413247d466f1c0871a6.tar.gz
mpd-4066629494cd8099de073413247d466f1c0871a6.tar.xz
mpd-4066629494cd8099de073413247d466f1c0871a6.zip
[CLEANUP] Remove function that doesn't need export
from the header, static the function git-svn-id: https://svn.musicpd.org/mpd/trunk@4336 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/metadataChunk.c2
-rw-r--r--src/metadataChunk.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/metadataChunk.c b/src/metadataChunk.c
index 11962f73c..dac3360bc 100644
--- a/src/metadataChunk.c
+++ b/src/metadataChunk.c
@@ -20,7 +20,7 @@
#include <string.h>
-void initMetadataChunk(MetadataChunk * chunk) {
+static void initMetadataChunk(MetadataChunk * chunk) {
memset(chunk, 0, sizeof(MetadataChunk));
chunk->name = -1;
diff --git a/src/metadataChunk.h b/src/metadataChunk.h
index ff595f5c4..e0cb40f7f 100644
--- a/src/metadataChunk.h
+++ b/src/metadataChunk.h
@@ -31,8 +31,6 @@ typedef struct _MetadataChunk {
char buffer[METADATA_BUFFER_LENGTH];
} MetadataChunk;
-void initMetadataChunk(MetadataChunk *);
-
MpdTag * metadataChunkToMpdTagDup(MetadataChunk * chunk);
void copyMpdTagToMetadataChunk(MpdTag * tag, MetadataChunk * chunk);