From a450db36fdd7850f21f71121f49c6016a75b12ee Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 16 Feb 2010 13:10:24 +0000 Subject: Add header file for sis_init_video_bridge() instead of forward declaring it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30593 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/sis_bridge.c | 1 + vidix/sis_bridge.h | 26 ++++++++++++++++++++++++++ vidix/sis_vid.c | 4 +--- 3 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 vidix/sis_bridge.h (limited to 'vidix') diff --git a/vidix/sis_bridge.c b/vidix/sis_bridge.c index f143754a9a..265bce5fd3 100644 --- a/vidix/sis_bridge.c +++ b/vidix/sis_bridge.c @@ -28,6 +28,7 @@ #include #include "dha.h" +#include "sis_bridge.h" #include "sis_regs.h" #include "sis_defs.h" diff --git a/vidix/sis_bridge.h b/vidix/sis_bridge.h new file mode 100644 index 0000000000..d06488fad8 --- /dev/null +++ b/vidix/sis_bridge.h @@ -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 */ diff --git a/vidix/sis_vid.c b/vidix/sis_vid.c index 0f5960cf54..4d82755bdf 100644 --- a/vidix/sis_vid.c +++ b/vidix/sis_vid.c @@ -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, -- cgit v1.2.3