changeset 27039:f00e76437efe

Add the ugly HELP_MP_DEFINE_STATIC back, otherwise we produce warnings like ./help_mp.h:21: warning: 'help_text' defined but not used
author diego
date Sun, 15 Jun 2008 13:37:44 +0000
parents 0918cf80de60
children 48fdfd02e5f2
files help/help_mp-en.h mplayer.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/help/help_mp-en.h	Sun Jun 15 13:22:10 2008 +0000
+++ b/help/help_mp-en.h	Sun Jun 15 13:37:44 2008 +0000
@@ -12,6 +12,7 @@
 
 // ========================= MPlayer help ===========================
 
+#ifdef HELP_MP_DEFINE_STATIC
 static char help_text[]=
 "Usage:   mplayer [options] [url|path/]filename\n"
 "\n"
@@ -51,7 +52,7 @@
 "\n"
 " * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *\n"
 "\n";
-
+#endif
 
 // libmpcodecs/ad_dvdpcm.c:
 #define MSGTR_SamplesWanted "Samples of this format are needed to improve support. Please contact the developers.\n"
--- a/mplayer.c	Sun Jun 15 13:22:10 2008 +0000
+++ b/mplayer.c	Sun Jun 15 13:37:44 2008 +0000
@@ -39,6 +39,8 @@
 #include "version.h"
 
 #include "mp_msg.h"
+
+#define HELP_MP_DEFINE_STATIC
 #include "help_mp.h"
 
 #include "m_option.h"