diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-16 13:10:24 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-16 13:10:24 +0000 |
commit | a450db36fdd7850f21f71121f49c6016a75b12ee (patch) | |
tree | 8a421e39710eda58e7e9c4ea5f5f6f4d8df2d87c | |
parent | aae2efd679e3001b5c52ea6e36703d7bd4cf02f1 (diff) | |
download | mpv-a450db36fdd7850f21f71121f49c6016a75b12ee.tar.bz2 mpv-a450db36fdd7850f21f71121f49c6016a75b12ee.tar.xz |
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
-rw-r--r-- | vidix/sis_bridge.c | 1 | ||||
-rw-r--r-- | vidix/sis_bridge.h | 26 | ||||
-rw-r--r-- | vidix/sis_vid.c | 4 |
3 files changed, 28 insertions, 3 deletions
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 <unistd.h> #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, |