[MPlayer-cvslog] r30593 - in trunk/vidix: sis_bridge.c sis_bridge.h sis_vid.c

diego subversion at mplayerhq.hu
Tue Feb 16 14:10:24 CET 2010


Author: diego
Date: Tue Feb 16 14:10:24 2010
New Revision: 30593

Log:
Add header file for sis_init_video_bridge() instead of forward declaring it.

Added:
   trunk/vidix/sis_bridge.h
Modified:
   trunk/vidix/sis_bridge.c
   trunk/vidix/sis_vid.c

Modified: trunk/vidix/sis_bridge.c
==============================================================================
--- trunk/vidix/sis_bridge.c	Tue Feb 16 14:07:00 2010	(r30592)
+++ trunk/vidix/sis_bridge.c	Tue Feb 16 14:10:24 2010	(r30593)
@@ -28,6 +28,7 @@
 #include <unistd.h>
 
 #include "dha.h"
+#include "sis_bridge.h"
 #include "sis_regs.h"
 #include "sis_defs.h"
 

Added: trunk/vidix/sis_bridge.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/vidix/sis_bridge.h	Tue Feb 16 14:10:24 2010	(r30593)
@@ -0,0 +1,26 @@
+/*
+ * VIDIX - VIDeo Interface for *niX.
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPLAYER_SIS_BRIDGE_H
+#define MPLAYER_SIS_BRIDGE_H
+
+void sis_init_video_bridge(void);
+
+#endif /* MPLAYER_SIS_BRIDGE_H */

Modified: trunk/vidix/sis_vid.c
==============================================================================
--- trunk/vidix/sis_vid.c	Tue Feb 16 14:07:00 2010	(r30592)
+++ trunk/vidix/sis_vid.c	Tue Feb 16 14:10:24 2010	(r30593)
@@ -37,6 +37,7 @@
 #include "pci_ids.h"
 #include "pci_names.h"
 
+#include "sis_bridge.h"
 #include "sis_regs.h"
 #include "sis_defs.h"
 
@@ -167,9 +168,6 @@ static unsigned short sis_card_ids[] = {
 
 /** function declarations **/
 
-void sis_init_video_bridge(void);
-
-
 static void set_overlay(SISOverlayPtr pOverlay, int index);
 static void close_overlay(void);
 static void calc_scale_factor(SISOverlayPtr pOverlay,


More information about the MPlayer-cvslog mailing list