Changeset 5278:b3e0dd3f3141 in roaraudio for libroar/vio_stdio.c


Ignore:
Timestamp:
11/21/11 00:42:20 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

last parts of merging _nonblock into _ctl and fixed sizeof(cmd) of _ctls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_stdio.c

    r5270 r5278  
    131131} 
    132132 
    133 off_t   roar_vio_stdio_lseek   (struct roar_vio_calls * vio, off_t offset, int whence) { 
     133roar_off_t   roar_vio_stdio_lseek   (struct roar_vio_calls * vio, roar_off_t offset, int whence) { 
    134134#if defined(ROAR_HAVE_FSEEK) && defined(ROAR_HAVE_FTELL) 
    135135 if ( fseek((FILE*)(vio->inst), offset, whence) == -1 ) 
     
    138138 return ftell((FILE*)(vio->inst)); 
    139139#else 
    140  return (off_t)-1; 
     140 return (roar_off_t)-1; 
    141141#endif 
    142142} 
     
    146146} 
    147147 
    148 int     roar_vio_stdio_ctl     (struct roar_vio_calls * vio, int cmd, void * data) { 
     148int     roar_vio_stdio_ctl     (struct roar_vio_calls * vio, roar_vio_ctl_t cmd, void * data) { 
    149149 
    150150 if ( vio == NULL || cmd == -1 ) 
Note: See TracChangeset for help on using the changeset viewer.