]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mp3.c
Minor audiod mainloop cleanup
[paraslash.git] / mp3.c
diff --git a/mp3.c b/mp3.c
index c2d0f63e7ccd0dbe9a4c6727d4979b1055acba85..b605b4ea5f3df3c5c866342da55e43549206fc44 100644 (file)
--- a/mp3.c
+++ b/mp3.c
@@ -31,7 +31,6 @@
 #include "server.cmdline.h"
 #include "server.h"
 #include "afs.h"
-#include "gcc-compat.h"
 #include "error.h"
 
 /** \cond some defines and structs which are only used in this file */
@@ -102,7 +101,7 @@ static int mp3info_bitrate[2][3][14] = {
 };
 
 static int frame_size_index[] = {24000, 72000, 72000};
-static char *mode_text[] = {"stereo", "joint stereo", "dual channel", "mono", "invalid"};
+static const char *mode_text[] = {"stereo", "joint stereo", "dual channel", "mono", "invalid"};
 
 static struct mp3info mp3;
 static char mp3buf[8192];
@@ -126,7 +125,7 @@ static int header_frequency(struct mp3header *h)
        return frequencies[h->version][h->freq];
 }
 
-static char *header_mode(struct mp3header *h)
+static const char *header_mode(struct mp3header *h)
 {
        if (h->mode > 4)
                h->mode = 4; /* invalid */