summaryrefslogtreecommitdiffstats
path: root/mp3lib
diff options
context:
space:
mode:
Diffstat (limited to 'mp3lib')
-rw-r--r--mp3lib/huffman.h5
-rw-r--r--mp3lib/l2tables.h4
-rw-r--r--mp3lib/mp3.h4
-rw-r--r--mp3lib/mpg123.h5
4 files changed, 17 insertions, 1 deletions
diff --git a/mp3lib/huffman.h b/mp3lib/huffman.h
index aa9e7b91fa..190775dbc0 100644
--- a/mp3lib/huffman.h
+++ b/mp3lib/huffman.h
@@ -6,6 +6,9 @@
* smaller tables are often the part of a bigger table
*/
+#ifndef MPLAYER_MP3LIB_HUFFMAN_H
+#define MPLAYER_MP3LIB_HUFFMAN_H
+
struct newhuff
{
unsigned int linbits;
@@ -329,4 +332,4 @@ static struct newhuff htc[] =
{ /* 1 , 1 , */ 0 , tab_c1 }
};
-
+#endif /* MPLAYER_MP3LIB_HUFFMAN_H */
diff --git a/mp3lib/l2tables.h b/mp3lib/l2tables.h
index f62a546088..6be9bc1b82 100644
--- a/mp3lib/l2tables.h
+++ b/mp3lib/l2tables.h
@@ -4,6 +4,9 @@
* $Id$
*/
+#ifndef MPLAYER_MP3LIB_L2TABLES_H
+#define MPLAYER_MP3LIB_L2TABLES_H
+
/*
* Layer 2 Alloc tables ..
* most other tables are calculated on program start (which is (of course)
@@ -158,3 +161,4 @@ static struct al_table alloc_4[] = {
{2,0},{5,3},{7,5},{10,9},
{2,0},{5,3},{7,5},{10,9} };
+#endif /* MPLAYER_MP3LIB_L2TABLES_H */
diff --git a/mp3lib/mp3.h b/mp3lib/mp3.h
index d43b5f8bcb..3877f0169b 100644
--- a/mp3lib/mp3.h
+++ b/mp3lib/mp3.h
@@ -1,5 +1,8 @@
/* MP3 Player Library 2.0 (C) 1999 A'rpi/Astral&ESP-team */
+#ifndef MPLAYER_MP3LIB_MP3_H
+#define MPLAYER_MP3LIB_MP3_H
+
/* decoder level: */
#ifdef CONFIG_FAKE_MONO
void MP3_Init(int fakemono);
@@ -33,3 +36,4 @@ void MP3_Play(void);
void MP3_Stop(void);
void MP3_CloseDevice(void);
+#endif /* MPLAYER_MP3LIB_MP3_H */
diff --git a/mp3lib/mpg123.h b/mp3lib/mpg123.h
index 2cbef31bdd..3af6be278a 100644
--- a/mp3lib/mpg123.h
+++ b/mp3lib/mpg123.h
@@ -9,6 +9,9 @@
* used source: musicout.h from mpegaudio package
*/
+#ifndef MPLAYER_MP3LIB_MPG123_H
+#define MPLAYER_MP3LIB_MPG123_H
+
#include "config.h"
#ifndef M_PI
@@ -126,3 +129,5 @@ void dct36_sse(real *, real *, real *, real *, real *);
typedef int (*synth_func_t)( real *,int,short * );
typedef void (*dct36_func_t)(real *,real *,real *,real *,real *);
+
+#endif /* MPLAYER_MP3LIB_MPG123_H */