[MPlayer-cvslog] r30596 - in trunk: 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

diego subversion at mplayerhq.hu
Tue Feb 16 16:03:03 CET 2010


Author: diego
Date: Tue Feb 16 16:03:03 2010
New Revision: 30596

Log:
#include corresponding .h files in .c files.
This ensures that function declarations in both files always match.

Modified:
   trunk/av_opts.c
   trunk/libmpcodecs/ae_lame.c
   trunk/libmpdemux/mp3_hdr.c
   trunk/mp_fifo.c
   trunk/osdep/getch2.c
   trunk/osdep/mmap_anon.c
   trunk/osdep/shmem.c
   trunk/osdep/timer-linux.c

Modified: trunk/av_opts.c
==============================================================================
--- trunk/av_opts.c	Tue Feb 16 15:52:59 2010	(r30595)
+++ trunk/av_opts.c	Tue Feb 16 16:03:03 2010	(r30596)
@@ -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;

Modified: trunk/libmpcodecs/ae_lame.c
==============================================================================
--- trunk/libmpcodecs/ae_lame.c	Tue Feb 16 15:52:59 2010	(r30595)
+++ trunk/libmpcodecs/ae_lame.c	Tue Feb 16 16:03:03 2010	(r30596)
@@ -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"

Modified: trunk/libmpdemux/mp3_hdr.c
==============================================================================
--- trunk/libmpdemux/mp3_hdr.c	Tue Feb 16 15:52:59 2010	(r30595)
+++ trunk/libmpdemux/mp3_hdr.c	Tue Feb 16 16:03:03 2010	(r30596)
@@ -20,6 +20,7 @@
 
 #include "config.h"
 #include "mp_msg.h"
+#include "mp3_hdr.h"
 
 //----------------------- mp3 audio frame header parser -----------------------
 

Modified: trunk/mp_fifo.c
==============================================================================
--- trunk/mp_fifo.c	Tue Feb 16 15:52:59 2010	(r30595)
+++ trunk/mp_fifo.c	Tue Feb 16 16:03:03 2010	(r30596)
@@ -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;

Modified: trunk/osdep/getch2.c
==============================================================================
--- trunk/osdep/getch2.c	Tue Feb 16 15:52:59 2010	(r30595)
+++ trunk/osdep/getch2.c	Tue Feb 16 16:03:03 2010	(r30596)
@@ -58,6 +58,7 @@
 
 #include "mp_fifo.h"
 #include "keycodes.h"
+#include "getch2.h"
 
 #ifdef HAVE_TERMIOS
 static struct termios tio_orig;

Modified: trunk/osdep/mmap_anon.c
==============================================================================
--- trunk/osdep/mmap_anon.c	Tue Feb 16 15:52:59 2010	(r30595)
+++ trunk/osdep/mmap_anon.c	Tue Feb 16 16:03:03 2010	(r30596)
@@ -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

Modified: trunk/osdep/shmem.c
==============================================================================
--- trunk/osdep/shmem.c	Tue Feb 16 15:52:59 2010	(r30595)
+++ trunk/osdep/shmem.c	Tue Feb 16 16:03:03 2010	(r30596)
@@ -40,6 +40,7 @@
 #include <fcntl.h>
 
 #include "mp_msg.h"
+#include "shmem.h"
 
 #ifdef AIX
 #include <sys/select.h>

Modified: trunk/osdep/timer-linux.c
==============================================================================
--- trunk/osdep/timer-linux.c	Tue Feb 16 15:52:59 2010	(r30595)
+++ trunk/osdep/timer-linux.c	Tue Feb 16 16:03:03 2010	(r30596)
@@ -27,6 +27,7 @@
 #include <time.h>
 #include <sys/time.h>
 #include "config.h"
+#include "timer.h"
 
 const char *timer_name =
 #ifdef HAVE_NANOSLEEP


More information about the MPlayer-cvslog mailing list