Changeset 4967:572924bdd4c6 in roaraudio


Ignore:
Timestamp:
05/15/11 23:14:09 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

make some vars file local as they do not need to be global

Location:
roard
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_ao.c

    r4708 r4967  
    2727#ifdef ROAR_HAVE_LIBAO 
    2828 
    29 int _driver_ao_usage_counter = 0; 
     29static int _driver_ao_usage_counter = 0; 
    3030 
    3131void driver_ao_init (void) { 
  • roard/driver_shout.c

    r4708 r4967  
    2727#ifdef ROAR_HAVE_LIBSHOUT 
    2828 
    29 int _driver_shout_usage_counter = 0; 
     29static int _driver_shout_usage_counter = 0; 
    3030 
    3131int     driver_shout_open_vio(struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh, struct roar_stream_server * sstream) { 
  • roard/include/streams.h

    r4846 r4967  
    118118} * g_streams[ROAR_STREAMS_MAX]; 
    119119 
    120 int streams_thru_num; 
    121 int streams_sync_num; 
    122120int streams_recsource_id; 
    123121 
  • roard/roard.c

    r4955 r4967  
    5656 
    5757#ifdef ROAR_SUPPORT_LISTEN 
    58 char * server[ROAR_MAX_LISTEN_SOCKETS]; 
     58static char * server[ROAR_MAX_LISTEN_SOCKETS]; 
    5959#endif 
    6060 
    6161#if defined(ROAR_HAVE_IO_POSIX) && defined(ROAR_HAVE_FS_POSIX) 
    6262#define SUPPORT_PIDFILE 
    63 char * pidfile = NULL; 
     63static char * pidfile = NULL; 
    6464#endif 
    6565 
    6666#if defined(ROAR_HAVE_SETGID) || defined(ROAR_HAVE_SETUID) 
    67 int    setids    = 0; 
     67static int    setids    = 0; 
    6868#endif 
    6969 
    7070#ifdef ROAR_HAVE_LIBX11 
    71 char * x11display = NULL; 
     71static char * x11display = NULL; 
    7272#endif 
    7373 
  • roard/streams.c

    r4964 r4967  
    2929#define _CHECK_SID(id)         _CHECK_SID_RET((id), -1) 
    3030 
    31 int streams_thru_num     =  0; 
    32 int streams_sync_num     =  0; 
     31static int streams_thru_num     =  0; 
     32static int streams_sync_num     =  0; 
    3333int streams_recsource_id = -1; 
    3434 
Note: See TracChangeset for help on using the changeset viewer.