Changeset 1f75e5730e7fef018f5d7708ef9fba6e66fdaaa5

Show
Ignore:
Timestamp:
05/27/08 20:30:50 (3 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1211913050 +0300
git-parent:

[80304bcee1ddd980e957695b4e90075850553522]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1211913050 +0300
Message:

Spare a few relocs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/control/event.c

    re58c9db r1f75e57  
    230230 * Get the char * name of an event type. 
    231231 **************************************************************************/ 
    232 static const char * event_type_to_name[] = 
     232static const char event_type_to_name[][35] = 
    233233{ 
    234234#define EVENT(a) [a]=#a 
     
    266266}; 
    267267 
    268 static const char * unkwown_event_name = "Unknown Event"; 
     268static const char unkwown_event_name[] = "Unknown Event"; 
    269269 
    270270const char * libvlc_event_type_name( libvlc_event_type_t event_type ) 
  • src/input/es_out.c

    r562773d r1f75e57  
    14421442                VLC_FOURCC('c', 'c', '4', ' '), 
    14431443            }; 
    1444             static const char *ppsz_description[4] = { 
     1444            static const char ppsz_description[4][18] = { 
    14451445                N_("Closed captions 1"), 
    14461446                N_("Closed captions 2"), 
  • src/misc/events.c

    re038c52 r1f75e57  
    7171 
    7272#ifdef DEBUG_EVENT 
    73 static const char * ppsz_event_type_to_name[] = 
     73static const char ppsz_event_type_to_name[][33] = 
    7474{ 
    7575    [vlc_InputItemMetaChanged]          = "vlc_InputItemMetaChanged", 
  • src/misc/messages.c

    rfb7f7d2 r1f75e57  
    524524    int i_dummy; 
    525525#endif 
    526     static const char * ppsz_type[4] = { "", " error", " warning", " debug" }; 
    527     static const char *ppsz_color[4] = { WHITE, RED, YELLOW, GRAY }; 
     526    static const char ppsz_type[4][9] = { "", " error", " warning", " debug" }; 
     527    static const char ppsz_color[4][8] = { WHITE, RED, YELLOW, GRAY }; 
    528528    const char *psz_object; 
    529529    libvlc_priv_t *priv = libvlc_priv (p_this->p_libvlc); 
  • src/network/getaddrinfo.c

    r449fd28 r1f75e57  
    8383}; 
    8484 
    85 static const char *__gai_unknownerr = "Unrecognized error number"; 
     85static const char __gai_unknownerr[] = "Unrecognized error number"; 
    8686 
    8787/****************************************************************************