Changeset 5257:27194d561c16 in roaraudio for libroar


Ignore:
Timestamp:
11/13/11 22:53:53 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed most warnings in roard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_dstr.c

    r5254 r5257  
    389389#endif 
    390390 
     391int     roar_vio_open_dstr_simple(struct roar_vio_calls * calls, const char * dstr, int o_flags) { 
     392 struct roar_vio_defaults def; 
     393 
     394 if ( roar_vio_dstr_init_defaults(&def, ROAR_VIO_DEF_TYPE_NONE, o_flags, 0644) == -1 ) 
     395  return -1; 
     396 
     397 if ( roar_vio_open_dstr_vio(calls, dstr, &def, 1, NULL) == -1 ) 
     398  return -1; 
     399 
     400 return 0; 
     401} 
     402 
    391403int     roar_vio_open_dstr    (struct roar_vio_calls * calls, const char * dstr, struct roar_vio_defaults * def, int dnum) { 
    392404 return roar_vio_open_dstr_vio(calls, dstr, def, dnum, NULL); 
Note: See TracChangeset for help on using the changeset viewer.