Changeset 5192:4237437ca526 in roaraudio for roard/roard.c


Ignore:
Timestamp:
10/23/11 03:04:21 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

declare some stuff 'extern', this saves like 5.3KB of diskspace in plugin files and make them more resistant against changes in roard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r5180 r5192  
    5454 AF_MODE_GEN 
    5555}; 
     56 
     57// some stuff we only define extern globally. 
     58int alive; 
     59#ifdef ROAR_SUPPORT_LISTEN 
     60int g_no_listen; 
     61#endif 
     62 
     63uint32_t g_pos; // current possition in output stream 
     64 
     65int g_standby; 
     66int g_autostandby; 
     67 
     68struct roard_listen g_listen[ROAR_MAX_LISTEN_SOCKETS]; 
     69 
     70int g_self_client; 
     71 
     72int g_terminate; 
     73 
     74struct roar_audio_info * g_sa, * g_max_sa; 
     75// end of extern block. 
    5676 
    5777#ifdef ROAR_SUPPORT_LISTEN 
Note: See TracChangeset for help on using the changeset viewer.