diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-16 15:03:03 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-16 15:03:03 +0000 |
commit | 465f535c51f0b3c9050366fb4930c8a465a87f42 (patch) | |
tree | 7e0fb48fd0e8880aebd992260d2a7c47502f6bde | |
parent | 3c514ea708749679623ae04fc8f7ade87e51aade (diff) |
#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
-rw-r--r-- | av_opts.c | 1 | ||||
-rw-r--r-- | libmpcodecs/ae_lame.c | 1 | ||||
-rw-r--r-- | libmpdemux/mp3_hdr.c | 1 | ||||
-rw-r--r-- | mp_fifo.c | 2 | ||||
-rw-r--r-- | osdep/getch2.c | 1 | ||||
-rw-r--r-- | osdep/mmap_anon.c | 2 | ||||
-rw-r--r-- | osdep/shmem.c | 1 | ||||
-rw-r--r-- | osdep/timer-linux.c | 1 |
8 files changed, 9 insertions, 1 deletions
@@ -22,6 +22,7 @@ #include <stdlib.h> #include <string.h> #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 ----------------------- @@ -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 <fcntl.h> #include <sys/mman.h> +#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 <fcntl.h> #include "mp_msg.h" +#include "shmem.h" #ifdef AIX #include <sys/select.h> 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 <time.h> #include <sys/time.h> #include "config.h" +#include "timer.h" const char *timer_name = #ifdef HAVE_NANOSLEEP |