[BACK]Return to safile.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / aucat

Diff for /src/usr.bin/aucat/Attic/safile.c between version 1.13 and 1.14

version 1.13, 2009/07/25 08:44:27 version 1.14, 2009/07/25 10:52:19
Line 15 
Line 15 
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   
 #include <sys/types.h>  
 #include <sys/time.h>  #include <sys/time.h>
   #include <sys/types.h>
   
 #include <poll.h>  #include <poll.h>
   #include <sndio.h>
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <sndio.h>  
   
   #include "aparams.h"
   #include "aproc.h"
 #include "conf.h"  #include "conf.h"
   #include "dev.h"
 #include "file.h"  #include "file.h"
 #include "aproc.h"  
 #include "aparams.h"  
 #include "safile.h"  #include "safile.h"
 #include "dev.h"  
   
 struct safile {  struct safile {
         struct file file;          struct file file;
Line 80 
Line 80 
 }  }
   
 /*  /*
  * open the device   * Open the device.
  */   */
 struct safile *  struct safile *
 safile_new(struct fileops *ops, char *path,  safile_new(struct fileops *ops, char *path,
Line 193 
Line 193 
         unsigned us;          unsigned us;
   
         if (!(f->file.state & FILE_ROK)) {          if (!(f->file.state & FILE_ROK)) {
                 DPRINTF("file_read: %s: bad state\n", f->file.name);                  DPRINTF("safile_read: %s: bad state\n", f->file.name);
                 abort();                  abort();
         }          }
         gettimeofday(&tv0, NULL);          gettimeofday(&tv0, NULL);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14