summaryrefslogtreecommitdiff
path: root/src/video_out
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out')
-rw-r--r--src/video_out/libdha/libdha.h3
-rw-r--r--src/video_out/video_out_syncfb.c8
-rw-r--r--src/video_out/video_out_xv.c4
-rw-r--r--src/video_out/vidix/drivers/cyberblade_vid.c2
-rw-r--r--src/video_out/yuv2rgb.c4
5 files changed, 12 insertions, 9 deletions
diff --git a/src/video_out/libdha/libdha.h b/src/video_out/libdha/libdha.h
index 850697ada..9984574ca 100644
--- a/src/video_out/libdha/libdha.h
+++ b/src/video_out/libdha/libdha.h
@@ -111,6 +111,9 @@ extern int hwirq_uninstall(int bus, int dev, int func);
/* CPU flushing support */
extern void cpu_flush(void *va,unsigned long length);
+
+extern void libdha_exit(const char *message, int level);
+
#ifdef __cplusplus
}
#endif
diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c
index 8b7b609bb..401be3cff 100644
--- a/src/video_out/video_out_syncfb.c
+++ b/src/video_out/video_out_syncfb.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_syncfb.c,v 1.87 2003/08/04 03:47:11 miguelfreitas Exp $
+ * $Id: video_out_syncfb.c,v 1.88 2003/08/25 21:51:48 f1rmb Exp $
*
* video_out_syncfb.c, SyncFB (for Matrox G200/G400 cards) interface for xine
*
@@ -132,7 +132,7 @@ typedef struct {
*/
/* returns boolean value (1 success, 0 failure) */
-int syncfb_overlay_on(syncfb_driver_t* this)
+static int syncfb_overlay_on(syncfb_driver_t* this)
{
if(ioctl(this->fd, SYNCFB_ON)) {
printf("video_out_syncfb: error. (on ioctl failed)\n");
@@ -144,7 +144,7 @@ int syncfb_overlay_on(syncfb_driver_t* this)
}
/* returns boolean value (1 success, 0 failure) */
-int syncfb_overlay_off(syncfb_driver_t* this)
+static int syncfb_overlay_off(syncfb_driver_t* this)
{
if(ioctl(this->fd, SYNCFB_OFF)) {
printf("video_out_syncfb: error. (off ioctl failed)\n");
@@ -302,7 +302,7 @@ static void write_frame_sfb(syncfb_driver_t* this, syncfb_frame_t* frame)
frame->vo_frame.free(&frame->vo_frame);
}
-void free_framedata(syncfb_frame_t* frame)
+static void free_framedata(syncfb_frame_t* frame)
{
/* if(frame->data_mem[0]) {
free(frame->data_mem[0]);
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index 9b990ea9b..51d7c9f81 100644
--- a/src/video_out/video_out_xv.c
+++ b/src/video_out/video_out_xv.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xv.c,v 1.171 2003/08/04 03:47:11 miguelfreitas Exp $
+ * $Id: video_out_xv.c,v 1.172 2003/08/25 21:51:48 f1rmb Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -218,7 +218,7 @@ static vo_frame_t *xv_alloc_frame (vo_driver_t *this_gen) {
return (vo_frame_t *) frame;
}
-int HandleXError (Display *display, XErrorEvent *xevent) {
+static int HandleXError (Display *display, XErrorEvent *xevent) {
char str [1024];
diff --git a/src/video_out/vidix/drivers/cyberblade_vid.c b/src/video_out/vidix/drivers/cyberblade_vid.c
index 423916a4d..b6d9a4ad8 100644
--- a/src/video_out/vidix/drivers/cyberblade_vid.c
+++ b/src/video_out/vidix/drivers/cyberblade_vid.c
@@ -88,7 +88,7 @@ static void SROUTW(int reg,int val)
SROUTB(reg+1,(val>>8)&255);
}
-void DumpRegisters()
+static void DumpRegisters(void)
{
#ifdef DEBUG_LOGFILE
int reg,val;
diff --git a/src/video_out/yuv2rgb.c b/src/video_out/yuv2rgb.c
index 40344d2d7..d60b57dbb 100644
--- a/src/video_out/yuv2rgb.c
+++ b/src/video_out/yuv2rgb.c
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: yuv2rgb.c,v 1.43 2003/08/25 14:32:37 mroi Exp $
+ * $Id: yuv2rgb.c,v 1.44 2003/08/25 21:51:50 f1rmb Exp $
*/
#include "config.h"
@@ -3115,7 +3115,7 @@ static void yuy22rgb_c_init (yuv2rgb_factory_t *this)
}
}
-yuv2rgb_t *yuv2rgb_create_converter (yuv2rgb_factory_t *factory) {
+static yuv2rgb_t *yuv2rgb_create_converter (yuv2rgb_factory_t *factory) {
yuv2rgb_t *this = xine_xmalloc (sizeof (yuv2rgb_t));