[Liboss-commit] CVS: liboss/include soundcard.h,1.2,1.3
Brought to you by:
thesin
|
From: Alexander S. <mrv...@us...> - 2002-10-18 02:50:53
|
Update of /cvsroot/liboss/liboss/include In directory usw-pr-cvs1:/tmp/cvs-serv17856/include Modified Files: soundcard.h Log Message: Attempting an implementation using esddsp. Does not work. Does not even compile. I can't figure out what the error means, though. Index: soundcard.h =================================================================== RCS file: /cvsroot/liboss/liboss/include/soundcard.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- soundcard.h 9 May 2002 07:48:32 -0000 1.2 +++ soundcard.h 18 Oct 2002 02:50:51 -0000 1.3 @@ -290,15 +290,15 @@ /* This is what we'd like to have, but it causes prototype conflicts. */ #define ioctl _oss_ioctl #else -#define ioctl(x,y,z) oss_ioctl(x,y,z) -#define open(x,y,z) oss_open(x,y,z) +#define ioctl(x,y,z...) oss_ioctl(x,y,z) +#define open(x,y,z...) oss_open(x,y,z) #endif #include <sys/cdefs.h> __BEGIN_DECLS -int oss_ioctl __P((int fd, unsigned long com, void *argp)); -int oss_open __P((const char *path, int flags, mode_t mode)); +int oss_ioctl __P((int fd, request_t request, ...)); +int oss_open __P((const char *pathname, int flags, ...)); __END_DECLS #endif /* !_SOUNDCARD_H_ */ |