changeset 32068:ab6ac5b156ca

Replace proc_priority extern declaration by osdep/priority.h #include.
author diego
date Sat, 11 Sep 2010 12:20:07 +0000
parents 548499b3f354
children ca56fb28bfa2
files gui/win32/preferences.c gui/win32/wincfg.c
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/preferences.c	Sat Sep 11 12:17:11 2010 +0000
+++ b/gui/win32/preferences.c	Sat Sep 11 12:20:07 2010 +0000
@@ -29,6 +29,7 @@
 
 #include "libvo/video_out.h"
 #include "libao2/audio_out.h"
+#include "osdep/priority.h"
 #include "mixer.h"
 #include "gui/mplayer/gmplayer.h"
 #include "gui/interface.h"
@@ -37,8 +38,6 @@
 #include "help_mp.h"
 #include "dialogs.h"
 
-extern char  *proc_priority;
-
 static void set_defaults(void);
 
 static LRESULT CALLBACK PrefsWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
--- a/gui/win32/wincfg.c	Sat Sep 11 12:17:11 2010 +0000
+++ b/gui/win32/wincfg.c	Sat Sep 11 12:20:07 2010 +0000
@@ -32,6 +32,7 @@
 #include "m_option.h"
 #include "parser-cfg.h"
 #include "libvo/video_out.h"
+#include "osdep/priority.h"
 #include "mixer.h"
 #include "gui/mplayer/gmplayer.h"
 #include "gui/interface.h"
@@ -55,9 +56,6 @@
 int gui_sub_pos_x = -1;
 int gui_sub_pos_y = -1;
 
-/* External functions */
-extern char *proc_priority;
-
 static m_config_t *gui_conf;
 static const m_option_t gui_opts[] =
 {