From 465f535c51f0b3c9050366fb4930c8a465a87f42 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 16 Feb 2010 15:03:03 +0000 Subject: #include corresponding .h files in .c files. This ensures that function declarations in both files always match. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30596 b3059339-0415-0410-9bf9-f77b7e298cf2 --- av_opts.c | 1 + libmpcodecs/ae_lame.c | 1 + libmpdemux/mp3_hdr.c | 1 + mp_fifo.c | 2 +- osdep/getch2.c | 1 + osdep/mmap_anon.c | 2 ++ osdep/shmem.c | 1 + osdep/timer-linux.c | 1 + 8 files changed, 9 insertions(+), 1 deletion(-) diff --git a/av_opts.c b/av_opts.c index 2d708ebddc..d4285d5bb1 100644 --- a/av_opts.c +++ b/av_opts.c @@ -22,6 +22,7 @@ #include #include #include "libavcodec/opt.h" +#include "av_opts.h" int parse_avopts(void *v, char *str){ char *start; diff --git a/libmpcodecs/ae_lame.c b/libmpcodecs/ae_lame.c index db7fe3b32e..1d37d2f989 100644 --- a/libmpcodecs/ae_lame.c +++ b/libmpcodecs/ae_lame.c @@ -29,6 +29,7 @@ #include "stream/stream.h" #include "libmpdemux/muxer.h" #include "help_mp.h" +#include "ae_lame.h" #include "ae_pcm.h" #include "libaf/af_format.h" #include "libmpdemux/mp3_hdr.h" diff --git a/libmpdemux/mp3_hdr.c b/libmpdemux/mp3_hdr.c index 9c649d7e1b..0266469cb9 100644 --- a/libmpdemux/mp3_hdr.c +++ b/libmpdemux/mp3_hdr.c @@ -20,6 +20,7 @@ #include "config.h" #include "mp_msg.h" +#include "mp3_hdr.h" //----------------------- mp3 audio frame header parser ----------------------- diff --git a/mp_fifo.c b/mp_fifo.c index f56f79555b..2f7d888706 100644 --- a/mp_fifo.c +++ b/mp_fifo.c @@ -20,7 +20,7 @@ #include "osdep/timer.h" #include "input/input.h" #include "input/mouse.h" - +#include "mp_fifo.h" int key_fifo_size = 7; static int *key_fifo_data = NULL; diff --git a/osdep/getch2.c b/osdep/getch2.c index 4a591da2db..7145504e5d 100644 --- a/osdep/getch2.c +++ b/osdep/getch2.c @@ -58,6 +58,7 @@ #include "mp_fifo.h" #include "keycodes.h" +#include "getch2.h" #ifdef HAVE_TERMIOS static struct termios tio_orig; diff --git a/osdep/mmap_anon.c b/osdep/mmap_anon.c index 727761cb6c..d5b3a3dd2f 100644 --- a/osdep/mmap_anon.c +++ b/osdep/mmap_anon.c @@ -27,6 +27,8 @@ #include #include +#include "mmap_anon.h" + #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) #define MAP_ANONYMOUS MAP_ANON #endif diff --git a/osdep/shmem.c b/osdep/shmem.c index 9788d02bc5..e942f462ed 100644 --- a/osdep/shmem.c +++ b/osdep/shmem.c @@ -40,6 +40,7 @@ #include #include "mp_msg.h" +#include "shmem.h" #ifdef AIX #include diff --git a/osdep/timer-linux.c b/osdep/timer-linux.c index 8c1af557a0..0c1908899d 100644 --- a/osdep/timer-linux.c +++ b/osdep/timer-linux.c @@ -27,6 +27,7 @@ #include #include #include "config.h" +#include "timer.h" const char *timer_name = #ifdef HAVE_NANOSLEEP -- cgit v1.2.3