Changeset 5242:97239101cee9 in roaraudio for include


Ignore:
Timestamp:
11/13/11 00:03:27 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some roard compiler warnings cleanup

Location:
include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio.h

    r5114 r5242  
    8383 
    8484// converters: 
    85 int     roar_vio_open_file     (struct roar_vio_calls * calls, char * filename, int flags, mode_t mode) _LIBROAR_ATTR_DEPRECATED _LIBROAR_ATTR_NONNULL_ALL; 
     85int     roar_vio_open_file     (struct roar_vio_calls * calls, const char * filename, int flags, mode_t mode) _LIBROAR_ATTR_DEPRECATED _LIBROAR_ATTR_NONNULL_ALL; 
    8686int     roar_vio_open_fh       (struct roar_vio_calls * calls, int fh) _LIBROAR_ATTR_NONNULL_ALL; 
    8787int     roar_vio_open_fh_socket(struct roar_vio_calls * calls, int fh) _LIBROAR_ATTR_NONNULL_ALL; 
  • include/libroareio/driver.h

    r4708 r5242  
    4141struct roar_cdriver { 
    4242 const char * name; 
    43  int  (*open)(struct roar_vio_calls * calls, const char * name, char * dev, struct roar_audio_info * info, int dir); 
     43 int  (*open)(struct roar_vio_calls * calls, const char * name, const char * dev, struct roar_audio_info * info, int dir); 
    4444}; 
    4545 
    46 int roar_cdriver_open(struct roar_vio_calls * calls, const char * name, char * dev, struct roar_audio_info * info, int dir); 
     46int roar_cdriver_open(struct roar_vio_calls * calls, const char * name, const char * dev, struct roar_audio_info * info, int dir); 
    4747 
    4848// driver prototypes: 
    49 int roar_cdriver_oss (struct roar_vio_calls * calls, const char * name, char * dev, struct roar_audio_info * info, int dir); 
    50 int roar_cdriver_roar(struct roar_vio_calls * calls, const char * name, char * dev, struct roar_audio_info * info, int dir); 
     49int roar_cdriver_oss (struct roar_vio_calls * calls, const char * name, const char * dev, struct roar_audio_info * info, int dir); 
     50int roar_cdriver_roar(struct roar_vio_calls * calls, const char * name, const char * dev, struct roar_audio_info * info, int dir); 
    5151 
    5252#endif 
Note: See TracChangeset for help on using the changeset viewer.