# HG changeset patch # User diego # Date 1213537064 0 # Node ID f00e76437efec9ad21c3c45642f7903412d93742 # Parent 0918cf80de604888bc0e8041b77f36a411bed91b Add the ugly HELP_MP_DEFINE_STATIC back, otherwise we produce warnings like ./help_mp.h:21: warning: 'help_text' defined but not used diff -r 0918cf80de60 -r f00e76437efe help/help_mp-en.h --- 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" diff -r 0918cf80de60 -r f00e76437efe mplayer.c --- 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"