changeset 30554:321e9ea69b9f

#include corresponding .h files in .c files. This ensures that function declarations in both files always match.
author diego
date Tue, 16 Feb 2010 15:03:03 +0000
parents b2829d4f2de4
children ad6740b58b0d
files av_opts.c libmpcodecs/ae_lame.c libmpdemux/mp3_hdr.c mp_fifo.c osdep/getch2.c osdep/mmap_anon.c osdep/shmem.c osdep/timer-linux.c
diffstat 8 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/av_opts.c	Tue Feb 16 14:52:59 2010 +0000
+++ b/av_opts.c	Tue Feb 16 15:03:03 2010 +0000
@@ -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;
--- a/libmpcodecs/ae_lame.c	Tue Feb 16 14:52:59 2010 +0000
+++ b/libmpcodecs/ae_lame.c	Tue Feb 16 15:03:03 2010 +0000
@@ -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"
--- a/libmpdemux/mp3_hdr.c	Tue Feb 16 14:52:59 2010 +0000
+++ b/libmpdemux/mp3_hdr.c	Tue Feb 16 15:03:03 2010 +0000
@@ -20,6 +20,7 @@
 
 #include "config.h"
 #include "mp_msg.h"
+#include "mp3_hdr.h"
 
 //----------------------- mp3 audio frame header parser -----------------------
 
--- a/mp_fifo.c	Tue Feb 16 14:52:59 2010 +0000
+++ b/mp_fifo.c	Tue Feb 16 15:03:03 2010 +0000
@@ -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;
--- a/osdep/getch2.c	Tue Feb 16 14:52:59 2010 +0000
+++ b/osdep/getch2.c	Tue Feb 16 15:03:03 2010 +0000
@@ -58,6 +58,7 @@
 
 #include "mp_fifo.h"
 #include "keycodes.h"
+#include "getch2.h"
 
 #ifdef HAVE_TERMIOS
 static struct termios tio_orig;
--- a/osdep/mmap_anon.c	Tue Feb 16 14:52:59 2010 +0000
+++ b/osdep/mmap_anon.c	Tue Feb 16 15:03:03 2010 +0000
@@ -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
--- a/osdep/shmem.c	Tue Feb 16 14:52:59 2010 +0000
+++ b/osdep/shmem.c	Tue Feb 16 15:03:03 2010 +0000
@@ -40,6 +40,7 @@
 #include <fcntl.h>
 
 #include "mp_msg.h"
+#include "shmem.h"
 
 #ifdef AIX
 #include <sys/select.h>
--- a/osdep/timer-linux.c	Tue Feb 16 14:52:59 2010 +0000
+++ b/osdep/timer-linux.c	Tue Feb 16 15:03:03 2010 +0000
@@ -27,6 +27,7 @@
 #include <time.h>
 #include <sys/time.h>
 #include "config.h"
+#include "timer.h"
 
 const char *timer_name =
 #ifdef HAVE_NANOSLEEP