1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00

Add the ugly HELP_MP_DEFINE_STATIC back, otherwise we produce warnings like

./help_mp.h:21: warning: 'help_text' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27071 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-06-15 13:37:44 +00:00
parent 9c9ed25b2e
commit ca8d41adb5
2 changed files with 4 additions and 1 deletions

View File

@ -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 @@ static char help_text[]=
"\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"

View File

@ -39,6 +39,8 @@
#include "version.h"
#include "mp_msg.h"
#define HELP_MP_DEFINE_STATIC
#include "help_mp.h"
#include "m_option.h"