[BACK]Return to soundcard.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libossaudio

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libossaudio/soundcard.h between version 1.19 and

version 1.19, 2011/09/06 01:20:18 version, 2012/05/07 16:55:33
Line 291  typedef struct buffmem_desc {
Line 291  typedef struct buffmem_desc {
         int size;          int size;
 } buffmem_desc;  } buffmem_desc;
 #if 0  
 /* This is what we'd like to have, but it causes prototype conflicts. */  
 #define ioctl _oss_ioctl  #define ioctl _oss_ioctl
 /*  /*
  * XXX force inclusion of <sys/ioctl.h> before we redefine   * If we already included <sys/ioctl.h>, then we define our own prototype,
  * ioctl() to avoid a prototype conflict.   * else we depend on <sys/ioctl.h> to do it for us. We do it this way, so
  * Its multiple inclusion protection will keep this from   * that we don't define the prototype twice.
  * happening if it is pulled in later.  
  */   */
   #ifndef _SYS_IOCTL_H_
 #include <sys/ioctl.h>  #include <sys/ioctl.h>
 #define ioctl(x,y,z) _oss_ioctl(x,y,z)  #else
 #include <sys/cdefs.h>  
 int _oss_ioctl(int fd, unsigned long com, void *argp);  int _oss_ioctl(int, unsigned long, ...);
 #endif /* !_SOUNDCARD_H_ */  #endif /* !_SOUNDCARD_H_ */

Removed from v.1.19  
changed lines
  Added in v.

CVSweb <webmaster@jp.NetBSD.org>