changeset 31382:f7b0ceac5aae

Move LIRC-related extern variable declarations to lirc.h.
author diego
date Thu, 17 Jun 2010 09:19:05 +0000
parents 21da5b5c9842
children d66033e62bd8
files cfg-mplayer.h input/lirc.h
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-mplayer.h	Thu Jun 17 09:17:13 2010 +0000
+++ b/cfg-mplayer.h	Thu Jun 17 09:19:05 2010 +0000
@@ -24,6 +24,7 @@
  */
 
 #include "cfg-common.h"
+#include "input/lirc.h"
 #include "libmpcodecs/vd.h"
 #include "libmenu/menu.h"
 #include "libvo/aspect.h"
@@ -31,8 +32,6 @@
 #include "libvo/vo_zr.h"
 #include "mp_fifo.h"
 
-extern char *lirc_configfile;
-
 extern float vo_panscanrange;
 /* only used at startup (setting these values from configfile) */
 extern char *vo_geometry;
--- a/input/lirc.h	Thu Jun 17 09:17:13 2010 +0000
+++ b/input/lirc.h	Thu Jun 17 09:19:05 2010 +0000
@@ -19,6 +19,8 @@
 #ifndef MPLAYER_LIRC_H
 #define MPLAYER_LIRC_H
 
+extern char *lirc_configfile;
+
 int
 mp_input_lirc_init(void);