changeset 27426:89812cdbc1b8

Remove pointless #ifdefs around extern declarations.
author diego
date Tue, 12 Aug 2008 07:38:30 +0000
parents 6a89c6949c08
children a54c51af6595
files cfg-common.h
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Tue Aug 12 07:33:15 2008 +0000
+++ b/cfg-common.h	Tue Aug 12 07:38:30 2008 +0000
@@ -145,7 +145,6 @@
 };
 #endif /* CONFIG_TV */
 
-#ifdef CONFIG_PVR
 extern int pvr_param_aspect_ratio;
 extern int pvr_param_sample_rate;
 extern int pvr_param_audio_layer;
@@ -156,6 +155,7 @@
 extern int pvr_param_bitrate_peak;
 extern char *pvr_param_stream_type;
 
+#ifdef CONFIG_PVR
 const m_option_t pvropts_conf[]={
 	{"aspect", &pvr_param_aspect_ratio, CONF_TYPE_INT, 0, 1, 4, NULL},
 	{"arate", &pvr_param_sample_rate, CONF_TYPE_INT, 0, 32000, 48000, NULL},
@@ -170,10 +170,7 @@
 };
 #endif /* CONFIG_PVR */
 
-#ifdef CONFIG_DVBIN
 extern const m_config_t dvbin_opts_conf[];
-#endif
-
 extern const m_option_t lavfdopts_conf[];
 
 extern int rtspStreamOverTCP;
@@ -352,10 +349,9 @@
 
 };
 
-#ifdef WIN32
-
 extern char * proc_priority;
 
+#ifdef WIN32
 struct {
   char* name;
   int prio;